• 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
NSForm keyReponder ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: hash and isEqual not working as expected
  • Next by Date: Aaron's Chapter 5 TableView Example
  • Previous by thread: Re: Tutorials using NSDrawer???
  • Next by thread: Aaron's Chapter 5 TableView Example
  • Index(es):
    • Date
    • Thread