Jump to content

access object in a tuniframe


wilton_educasoft

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...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...