Page 1 of 1
How to get the selected from a option menu
Posted: Wed May 23, 2012 2:03 pm
by ivaho
Hi,
I have a option menu with some options.
How to get the selected option into _selected
Thanks
Ivo
Re: How to get the selected from a option menu
Posted: Wed May 23, 2012 2:31 pm
by Klaus
Dag Ivo,
one way is to have a "menupick" handler in any "menu" button:
Code: Select all
on menupick tMenuItem
## tMenuItem is the menuitem that the user has selected
switch ctMenuItem
case "whatever"
## do whatever---
break
case "another menutem..."
## ...
break
## etc...
end switch
end menupick
Best
Klaus