Setting label of option menu

Kaveh Bazargan kaveh at river-valley.com
Tue Feb 22 00:47:13 CST 2005


I am resetting the menuHistory and the Label of an option button, using the
following script:

create btn "a"
set the style of btn "a" to "menu"
set the menumode of btn "a"  to "option"
set the showName of button "a" to true
put "one" & return & "two" & return & "three" into btn "a"
set the menuHistory of btn "a" to 2
set the label of btn "a" to "two"

Why is the label of the button still "a", not "two"?
-- 

Kaveh Bazargan
http://www.river-valley.com
http://www.holographer.org


More information about the use-livecode mailing list