Changing the list of values of an option menu at runtime

Jeanne A. E. DeVoto jeanne at
Tue Mar 19 01:43:01 EST 2002

At 12:32 PM -0800 3/18/2002, Giulio Mastrosanti wrote:
>I'm looking at the list of properties of a button that has 'option' as
>style, but i can't find the list of values it can have (the list i write on
>the property stack on the field "Create button menu with contents:")

As Klaus said you can simply use "put" to put your desired items into the
buttons, but there's also a tip: if you hold the mouse over a control in
the Properties palette, the Transcript property name pops up as a tool tip.
(In this case, the text property of the button.) These two statements are
  put myList into button "Option Menu"
  set the text of button "Option Menu" to myList

Jeanne A. E. DeVoto ~ jeanne at
Runtime Revolution Limited - Power to the Developer!

More information about the use-livecode mailing list