Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Context menu target won't work in modal panel




Well, this has bitten me again... and again...

The symptoms are that a context menu in a modal panel will disable menu items that have a non-null target (i.e., a target outside of the responder chain). And that manually enabling doesn't help: the action won't be sent. Changing the target to First Responder works but leaves an unpleasing bunch of code (forcing me to create extra objects, inserting them into the responder chain, etc.)

Nothing in here (<http://developer.apple.com/documentation/Cocoa/Conceptual/MenuList/ Tasks/EnablingMenuItems.html>) suggests this should be a problem. Have I missed anything?


Regards,

Steven Kramer

--
email@hidden
http://sprintteam.com/

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.