Determining which menu button was clicked on Mac

Trevor DeVore lists at mangomultimedia.com
Wed Jan 7 18:50:51 EST 2004


On Jan 7, 2004, at 4:34 PM, Doug Lerner wrote:
>
> On 1/8/04 8:21 AM, "Trevor DeVore" <lists at mangomultimedia.com> wrote:
>
>> I was wondering if there was a way to determine which button was
>> clicked in a menu on the Mac?  On Windows you can put mouse event
>> handlers in the button itself but these events are not processed on
>> Mac.
>>
> I put mouseUp handlers in all my buttons on the Mac and it works 
> fine...

It works fine for buttons but not for buttons that are set as the menu 
for the application.  Only the menu group receives the message in this 
case.

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



More information about the use-livecode mailing list