Page 1 of 1

How to Use Tab Panels

Posted: Wed Apr 18, 2007 5:50 am
by toledor
With regards to Tab Panels, how does one get groups of form elements to appear in a different tab? I have a feeling that it has to do with grouping elements, and toggling each group's visiblility, based on the tab selected. But I am unsure of "best practices" in achieving this. Also related, should all of these individual groups be grouped themselves to the tab panel (in the event that the tab panel is rearranged on the card)?

Thank you in advance.

Posted: Wed Apr 18, 2007 8:42 am
by Mark
Hi toledor,

You got it right. Make groups of objects and show and hide these objects depending on the active tab of a tab menu button.

Another possibility is to put the objects on separate cards and go to a particular card depending onthe active tab.

Best regards,

Mark

tabbed buttons

Posted: Thu Jun 07, 2007 4:32 pm
by snowfun
is it possible to set which tab is "active" when a card opens? I populate a tabbed button with different tabs according to previous user action (which works fine) but I want it to automatically hilite the first tab.
Cheers,
Tim

Posted: Fri Jun 08, 2007 2:30 am
by kpeters
Yes, and you can do it like this:

Code: Select all

set the menuhistory of button "your tabmenu button" to 1 -- make the first tab from the left the active one
HTH,
Kai

Posted: Wed Jun 13, 2007 4:48 pm
by Mark
Alternatively:

select line 2 of btn 1

works for a tab menu button.

Best,

Mark

Re: How to Use Tab Panels

Posted: Wed Nov 09, 2011 6:43 pm
by seaniepie
You posted this back in Jun 2007 originally but it just saved me :D

Code: Select all

select line 2 of btn 1
Awesome

Re: How to Use Tab Panels

Posted: Fri Nov 11, 2011 7:37 pm
by Mark
Cool! :-)