NSForm keyReponder ?
NSForm keyReponder ?
- Subject: NSForm keyReponder ?
- From: Denis Vaillant <email@hidden>
- Date: Sun, 11 Jan 2004 23:35:56 +0100
Hi,
I am programming a game and I am now working on the control preferences
panel, giving the possibility to the users to choose which key they want to
use to play.
How can I know exactly which key has been pressed when the user is filling a
NSForm. I want the user to be allowed to use any key of the keybord and not
only the ones with a letter...
I think the solution is to use the keyDown method and get the keycode of the
key pressed but it didn't work : the -(void)keyDow: method in not called in
my NSForm subclass...
Any idea how to do it ?
_______________________________________________
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.