Re: NSButton setKeyEquivalent (NSString*)charcodes?
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.