sending menupick to combobox button

Rob Cozens rcozens at pon.net
Tue Oct 21 11:07:02 EDT 2003


>I have a combobox button with several menuitems in it.  Next to it 
>is a plain radio button which serves to mark the state (on/off) of 
>the combobox.
>
>When  the radio button is cllcked,  I need it to send a menupick to 
>the combobox so that the current combobox's label's menupick script 
>runs, just as if the user had selected the option from the 
>combobox's own menu options.  (There's a mouthful.)
>
>What is the correct syntax for making this happen?

Hi Mark,

Off the top of my head:

send "menuPick"&&myPick to button "myComboButton"

myPick contains the argument to be passed with the menuPick message.
-- 

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.net/who.htm

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)


More information about the Use-livecode mailing list