menus: menu item numbers?
peter.fink at tiscali.ch
Thu Dec 12 06:24:00 CST 2002
Is it possible to work with menu items by item number, instead of by name
I would need it
- to set the currently selected item ("set the menuItem of btn "optionmenu"
- to find the currently selected item ("put the menuItem of btn "optionmenu"
instead of the scripted workarounds:
- setting the label myself ("set the label of btn "optionmenu" to line 3 of
and on menupick pItem
- finding the item number myself ("put lineoffset(pItem,text of btn
"optionmenu") into V")
More information about the use-livecode