assigning the same keyboard command to more than one menu item
assigning the same keyboard command to more than one menu item
- Subject: assigning the same keyboard command to more than one menu item
- From: "Josh Aas" <email@hidden>
- Date: Wed, 20 Dec 2006 00:21:15 -0600
I need to be able to assign the same key equivalent and modifiers to
multiple menu items in my Cocoa application's menu bar. I know that doesn't
seem like good UI design, but in this case I need to be able to do it.
Anyone know how?
Right now, if I assign the same key equiv and modifiers to two different
menu items, one of them will not display the keyboard command. Which one
displays it seems to depend on the order in which the key commands were
assigned. If I could assign the same key/modifiers to two different menu
items, I don't care which one gets activated when the key command is used,
because they will always have the same action/target.
(Carbon seems to be able to do this just fine, but Cocoa doesn't want to)
Thanks,
Josh Aas
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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