• 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: assigning delete key to menu item
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: assigning delete key to menu item


  • Subject: Re: assigning delete key to menu item
  • From: Andrew Platzer <email@hidden>
  • Date: Wed, 26 Sep 2001 16:21:03 -0700

On Tuesday, September 25, 2001, at 06:55 , Sven A. Schmidt wrote:

I have looked at the archives for this one, because it really smells like a faq - but it seems like it hasn't come up yet:
How can I assign the backspace key as a menu shortcut?

You have to do it via code:

unichar backspaceKey = NSBackspaceCharacter;
[menuItem setKeyEquivalent:[NSString stringWithCharacters:&backspaceKey length:1]];

Andrew
__________________________________________________________________
A n d r e w P l a t z e r
A p p l i c a t i o n F r a m e w o r k s
A p p l e


  • Follow-Ups:
    • Re: assigning delete key to menu item
      • From: Jonathan Hendry <email@hidden>
References: 
 >assigning delete key to menu item (From: "Sven A. Schmidt" <email@hidden>)

  • Prev by Date: Re: Autobanking
  • Next by Date: Re: Fastest way to get 10.1 Developer?
  • Previous by thread: assigning delete key to menu item
  • Next by thread: Re: assigning delete key to menu item
  • Index(es):
    • Date
    • Thread