wilton_educasoft Posted May 28, 2015 Share Posted May 28, 2015 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'; Quote Link to comment Share on other sites More sharing options...
wilton_educasoft Posted June 8, 2015 Author Share Posted June 8, 2015 up! Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted June 8, 2015 Administrators Share Posted June 8, 2015 You can simply access a uniFrame instance after it is created by using its reference. Quote Link to comment Share on other sites More sharing options...
mhmda Posted June 10, 2015 Share Posted June 10, 2015 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') Quote Link to comment Share on other sites More sharing options...
sobakava Posted July 7, 2015 Share Posted July 7, 2015 http://forums.unigui.com/index.php?/topic/4811-uniframe-how-to-access-a-component-on-an-uniframe-from-a-form/?hl=tuniframe&do=findComment&comment=27091 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.