Page 1 of 1

Problem with a tabbed button

Posted: Mon Aug 31, 2009 3:36 am
by phaworth
Have been using a card with a tabbed button on it for some weeks now with no problems. I used the trick someone gave me on the forum of creating a group containing the fields on each tab and naming it the same as the tab name. So group TAB1 includes all the fields that should appear on TAB1, and so on. The menuPick handler for the tab button just hides the old tab and makes the new one visible. All worked like a charm until a few minutes ago.

I was making some changes to the card but the groups are still in place but now none of the controls on any of the tabs show up when I click on a tab. Yet if I open the property inspector for a currently selected group and it's constituent controls, they have their visible property checked.

Any ideas?

Thanks,
Pete

Posted: Mon Aug 31, 2009 5:01 am
by Janschenkel
Ungrouping or regrouping controls can play tricks with the layer property of controls - are you sure the tab menu hasn't somehow gotten in front of the groups?

Jan Schenkel.

Posted: Mon Aug 31, 2009 6:19 am
by phaworth
OK, I'm not familiar enough with Rev yet to know what "in front of" means :-). The tabbed button has a layer of 227 and the 3 groups have layers of 1, 64, and 130.

If that means the tabbed button is in front of the groups, how do I renumber the groups so they are where they should be?

Thanks,
Pete

Posted: Mon Aug 31, 2009 9:01 am
by Mark
Pete,

If the tabbed button is part of a group, turn off "Select Grouped Controls", select the group, use menu to send group to back.

If the tabbed button is not in a group, just select the tabbed button and use the menu to send it to back.

Best,

Mark

Posted: Mon Aug 31, 2009 5:49 pm
by phaworth
Many thanks Mark, that worked perfectly.
Pete