• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Multiple menu items with same keyEquivalent?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multiple menu items with same keyEquivalent?


  • Subject: Multiple menu items with same keyEquivalent?
  • From: Fredrik Olsson <email@hidden>
  • Date: Mon, 31 Jul 2006 13:29:27 +0200

My application can handle three different kinds of objects (Accounts, folders and messages). Accounts and Messages are special enough to have a menu each of their own in the main menu.

Under File I have New->{Account, Folder, Message}, as that is natural and OSX:ish. I hav also chosen to have New Account under the Account menu, and new Message under the Message menu, as some users find this natural.

Obviously they both hook up to the same target, with the same actions. I also like them to display the same key equivalent, how do I do this? By default duplicate key equivalents are removed even if they do have the same target/action.
This is forexample done in Thunderbord where there is both File->New->Message and Messages->New Message, with the same key equivalent.



And secondly;
Is there any good reason why I should not have multiple menu items performing the same task, even if they both are placed in locations where users might expect them?



// Fredrik Olsson _______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: Re: {Spam?} Preference Panes Universal Binary
  • Next by Date: NSMenuItem protocol and incompatible types.
  • Previous by thread: Re: {Spam?} Preference Panes Universal Binary
  • Next by thread: NSMenuItem protocol and incompatible types.
  • Index(es):
    • Date
    • Thread