Determining which menu button was clicked on Mac

Trevor DeVore lists at mangomultimedia.com
Thu Jan 8 00:39:06 EST 2004


On Jan 7, 2004, at 6:46 PM, Mark Wieder wrote:

> Trevor-
>
> I'm confused, too.
>
> on menuPick chosenItem
>   if "DogFood" is chosenItem then
>     --feed the dog
>   end if
> end menuPick
>
> Should give the text of the menuItem, no?

Yes it does.  But the menuPick handler happens *after* the menu is 
displayed to the user.  I want to change the menu contents before the 
menu is displayed to the user.


-- 
Trevor DeVore
Blue Mango Multimedia
trevor at mangomultimedia.com



More information about the use-livecode mailing list