At 6:25 PM -0700 8/20/2001, Kelly Franznick wrote:
>Anyone know how to set the contents of a menu button (a combo box in this
>case) using a script? I've tried everything I can think of (menu, menuItem,
>menuLines, menus...).

Like this:
  put someVariable into button "My Combo Box"
  put "foo" & return & "bar" & return & "bat" into button 2

Or equivalently, use the button's text property:
  set the text of button "My Combo Box" to someVariable
  set the text of button 2 to "foo" & return & "bar" & return & "bat"

--
Jeanne A. E. DeVoto ~ [EMAIL PROTECTED]
http://www.runrev.com/
Runtime Revolution Limited - Power to the Developer!


Reply via email to