Tab panel newbie question

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
kpeters
Posts: 112
Joined: Wed Mar 21, 2007 9:32 pm

Tab panel newbie question

Post by kpeters » Fri Apr 27, 2007 1:04 am

I have a stack with a number of cards that all share a background made up of a tab panel. Upon open of the stack I want to select a certain tab and thus card.

I tried a 'go to card "xvz"' in the stack's preopen. While this certainly brings up the desired card, the tab selector does not reflect this.

What do I need to do differently? Somehow 'fake' a menuPick click?

TIA,
Kai

kpeters
Posts: 112
Joined: Wed Mar 21, 2007 9:32 pm

Post by kpeters » Fri Apr 27, 2007 3:09 am

Phew - just found it - thanks to Eric from SoSmart Software!

Doubt I would have found that anytime soon otherwise - here it is for those who also didn't know:

set the menuhistory of button "<name of your tab panel goes here>" to <desired tab number goes here>

Post Reply