Page 1 of 1
Changing tab in Tab Panel
Posted: Tue Aug 05, 2014 10:02 pm
by DavJans
is there a way to do this via script?
something like this?
Code: Select all
on openCard
set the selected tab of btn "Tab Panel 1" to 3
end openCard
Re: Changing tab in Tab Panel
Posted: Tue Aug 05, 2014 10:34 pm
by dunbarx
Hi.
A tab panel is just a button with a lot of properties. It has a "menuHistory" property. You can set and get that property at will. You can also get the "selectedText" of the current "tab". That sort of thing...
Craig Newman
Re: Changing tab in Tab Panel
Posted: Tue Aug 05, 2014 10:58 pm
by DavJans
omg thank you, I played around with meuHistory a little with no luck, since you mentioned it again I revisited and found my answer.
set the menuHistory of btn "Tracker Tab Menu" to 1
so simple but I missed it.