Capture the Trig Function from an Option Menu Button

J. Landman Gay jacque at hyperactivesw.com
Fri Dec 7 17:39:21 EST 2012


On 12/7/12 4:32 PM, J. Landman Gay wrote:
> Try:
>
> local sOption
>
> on thisHandler
>    put the label of btn "myOptiionMenu" into sOption
> end test
>
> on otherHandler theta
>    do "put the" && sOption && "of" && theta
> end otherHandler

Or shorter, to avoid the script local variable, read the option button 
directly:

on otherHandler theta
   do "put the" && the label of btn "myOptionMenu" && "of" && theta
end otherHandler


-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list