Jump to content

access object in a tuniframe


wilton_educasoft
 Share

Recommended Posts

I am creating my project and using the TUniFrame class and creating it within the tabs PageControl component
 
like the example megademo
 
in some very moment being in a frame, change, or have access to any existing control in another uniframe
how?
 
 
eg
 
I am in frmVendas
and I want to change the caption of a button exists in frmclientes. (of course before I will do a test to see if it was created or if this in any of the tabs .. PageControl.
 
frameClientes.btnteste.caption: = 'new caption';
 

 

 

 

Link to comment
Share on other sites

  • 2 weeks later...

What is the content of the uniFrame: is it regular html content or you place a unigui components?

 

You can use extjs query 'up' and 'down', for example if you have a uniframe called 'UniFrame1' on 'MainForm' and it contains other components you may use: MainForm.UniFrame1.down('xxx')

Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...