• 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: NSButton setKeyEquivalent (NSString*)charcodes?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSButton setKeyEquivalent (NSString*)charcodes?


  • Subject: Re: NSButton setKeyEquivalent (NSString*)charcodes?
  • From: Bill Cheeseman <email@hidden>
  • Date: Fri, 21 May 2004 07:29:44 -0400

on 2004-05-21 6:51 AM, Lance Drake at email@hidden wrote:

> I searched - but could not find a list of charcodes to be used with
> NSButton controls for keyboard equivalents like 'left-arrow'. Can
> anyone point me to the place where those values are documented? It
> would seem like an easy thing to find... but nooo... not for me.

Use the NSEvent -keycode method and the constants for function keys in
NSEvent. For example, NSLeftArrowFunctionKey.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >NSButton setKeyEquivalent (NSString*)charcodes? (From: Lance Drake <email@hidden>)

  • Prev by Date: NSButton setKeyEquivalent (NSString*)charcodes?
  • Next by Date: Re: NSMakePoint and such - what about memory allocation?
  • Previous by thread: NSButton setKeyEquivalent (NSString*)charcodes?
  • Next by thread: NSOpenGLView from a second NSThread
  • Index(es):
    • Date
    • Thread