setting the default of Button "Option Menu"

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
chris9610
Posts: 79
Joined: Fri Mar 20, 2009 4:38 pm

setting the default of Button "Option Menu"

Post by chris9610 » Wed Sep 02, 2009 6:53 pm

Does anyone know how to set the default pick for a button used as an Option Menu?

Say the menu Items are :

Choice 1
Choice 2
Choice 3

How can I change the default option to say Choice 2 when I want and then Choice 3 at another time during execution?
Developing with Windows XP & Revolution 4.5

Paul D
Posts: 116
Joined: Mon May 21, 2007 6:58 pm

Post by Paul D » Wed Sep 02, 2009 7:37 pm

for a default "selection" just set the label of the button to whatever you want the default to be.

chris9610
Posts: 79
Joined: Fri Mar 20, 2009 4:38 pm

Post by chris9610 » Wed Sep 02, 2009 7:44 pm

Thank you Paul:

Some things are so simple yet I spent a long time searching for this simple method.

Works Great!
Developing with Windows XP & Revolution 4.5

Post Reply