Return selected item of option menu
Kaveh Bazargan
kaveh at focalimage.com
Fri Nov 12 10:32:58 EST 2004
This must be easy, but I can't find it!
I have an option menu with 3 lines in the content:
choice 1
choice 2
choice 3
I want to get the selected item. What is the command for that? when I type
put btn myButton
I get all three lines
When I ask for selectedLine, I get
line 3 of button 8
----------------------
Also, is there a handler to test when the selection of the button has been
changed? i.e. like MenuPick, but only if the menu item picked is different
to the one there previously.
--
Kaveh Bazargan
http://www.focalimage.com/
http://www.holographer.org/
More information about the use-livecode
mailing list