Page 1 of 1

Putting the menuItem number into a variable

Posted: Fri May 16, 2008 3:10 pm
by gyroscope
Hi, in my first project, for a certain reason I need to find out the menu item line number that the user picks so that I can put it into a variable.

I thought it would be relatively easy but whatever I do isn't correct. I've tried quite a few variations of the following (this appears in the MenuPick handler of an Option Menu button):

Code: Select all

 -- pseudocode
put the number of the MenuItem (--of me?--) into lAhGoOnTellMe 
as " put the number of MenuItems into...." works, I thought the above would as well...

Grateful for help here please!

:)

Posted: Fri May 16, 2008 3:18 pm
by Klaus
Hola muchacho,

you are looking for:

Code: Select all

...
put the menuhistory of me into lAhGoOnTellM
...
Best

Klaus

Posted: Fri May 16, 2008 3:25 pm
by gyroscope
Thank you for such a quick reply and answer, Klaus.

I've been "staring at that wall" for twenty minutes but now I'm off again!

Much appreciated.

:)