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 »

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: 4219
Joined: Sun Jan 07, 2007 9:12 pm

Post by bn »

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 »

Thanks BN for the help!

Warren
Post Reply