Determining which menu button was clicked on Mac

Doug Lerner doug at webcrossing.com
Wed Jan 7 19:04:20 EST 2004


On 1/8/04 8:50 AM, "Trevor DeVore" <lists at mangomultimedia.com> wrote:

> 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.
>

Is this like the problem I am having where I can select a menu item for
COPY, but I can't get the CMD+C recognized for that item?

I seem to be able to select individual items though, inside the menu.

doug



More information about the use-livecode mailing list