sam215 Posted April 22, 2013 Posted April 22, 2013 hi..when we click on button of the tab its go to another layout so how can we pass the control to the active tab
mr_vodka Posted April 22, 2013 Posted April 22, 2013 Do you mean how to go to the tab? Can you further explain?
sam215 Posted April 23, 2013 Author Posted April 23, 2013 1st layout-Tab b(suppose there are three tab a,b,c ) -Button--> go to layout 2 ..- Do smthng -> return to 1st layout Tab
fmbug Posted April 23, 2013 Posted April 23, 2013 Hi Sam, You need use the define the a tab control, in which, each tab will have a different name. Suppose we have two tabs, name it as 'a','b', using inspector button (i). Now use the script step GOTO Object[], in which define the parameter as object name. Then you can easily move onto the tab which is required.
mr_vodka Posted April 23, 2013 Posted April 23, 2013 See if this helps. http://fmforums.com/forum/topic/83798-getactivetab-in-fmpro-12/?p=387782 You would capture the last active tab into a variable and then when going back to the first layout you can use a OnLayoutEnter script trigger to go to that object. Make sure you give each tab panel an object name in the Inspector.
Recommended Posts
This topic is 4288 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now