Tab Button

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
warrenk
Posts: 110
Joined: Sun Sep 21, 2008 5:39 am

Tab Button

Post by warrenk » Thu Nov 27, 2008 11:56 pm

Is there a way to specify which tab to go to when I open a card?

Thanks for any help!
Warren

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4172
Joined: Sun Jan 07, 2007 9:12 pm

Post by bn » Fri Nov 28, 2008 12:08 am

Hi Warren,

try

Code: Select all

on preopencard
    set the menuhistory of btn "tabButton" to 2 --or whatever number
end preopencard
cheers
bernd

warrenk
Posts: 110
Joined: Sun Sep 21, 2008 5:39 am

Post by warrenk » Fri Nov 28, 2008 1:39 am

Thanks BN for the help!

Warren

Post Reply