• 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
Re: Making custom key-commands
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making custom key-commands


  • Subject: Re: Making custom key-commands
  • From: Nick Zitzmann <email@hidden>
  • Date: Mon, 17 Dec 2007 13:11:17 -0700


On Dec 17, 2007, at 12:50 PM, James Maxwell wrote:

Things are basically going fine, but I'm a bit stumped about handling key strokes, particularly in the sense of creating my own key-commands. Can anyone clarify the best way to go about this?


Normally the way you do this is to add menu items for the commands, and then assign a keystroke to the menu items. For delete, for example, you'd add a "Delete" menu item with the backspace key (_not_ the delete key; that confuses people and can't be easily accessed on laptop keyboards) assigned to the item.

Nick Zitzmann
<http://www.chronosnet.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


  • Follow-Ups:
    • Re: Making custom key-commands
      • From: Randall Meadows <email@hidden>
References: 
 >Making custom key-commands (From: James Maxwell <email@hidden>)

  • Prev by Date: Re: NSColorPanel as sheet?
  • Next by Date: Re: How do I get NSRect to be the same as CGRect?
  • Previous by thread: Making custom key-commands
  • Next by thread: Re: Making custom key-commands
  • Index(es):
    • Date
    • Thread