Context Menu and first responder targets
Context Menu and first responder targets
- Subject: Context Menu and first responder targets
- From: Eyal Redler via Cocoa-dev <email@hidden>
- Date: Sun, 5 Mar 2023 18:27:50 +0200
Hi,
I'm using popUpContextMenu:withEvent:forView: to show a context menu. The menu
contains several items whose target is the first responder (that is, nil). But
the items are not enabled and if I turn off autoEnable then the action is never
called on the first responder.
Same target/action setup works just fine for the same items in the main menu,
as expected.
Is this by design or am I missing something?
Tia
Eyal Redler
------------------------------------------------------------------------------------------------
"If Uri Geller bends spoons with divine powers, then he's doing it the hard
way."
--James Randi
www.eyalredler.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden