menuItem and menuHistory Question

Klaus Major klaus at major-k.de
Tue Sep 20 12:26:12 EDT 2005


Hi David,

> Hi All,
>
> If I have the name of a Menu Item (In a Tabbled Button) "OptionA",  
> how can I get the Item Number associated with it. I want to set the  
> menuHistory property to the Item Index of Item "OptionA". I just  
> can't seem to work out how to do it!

...
  put lineoffset("OptionA", btn "my TAB button") into my_menuhistory
...

> Thanks in Advance
> Dave

Regards

Klaus Major
klaus at major-k.de
http://www.major-k.de




More information about the use-livecode mailing list