Re: [Q] key Event
Re: [Q] key Event
- Subject: Re: [Q] key Event
- From: "John C. Randolph" <email@hidden>
- Date: Wed, 7 Nov 2001 11:02:21 -0800
On Wednesday, November 7, 2001, at 10:40 AM, Lizardo H. C. M. Nunes
wrote:
Hi,
Again, I have a simple question and I'd really appreciate if somebody
could
point me to documentation
How can I assign certain keys to be the trigger of a certain method; I
mean,
once a given key was pressed, a message should be sent to the receiver.
Basically, when a key is pressed, the frontmost application attempts to
find an object that deals with -keyDown: events. Whichever object gets
that message (which is determined by the responder chain) is the one
that gets the chance to deal with the key event.
Read up on NSResponder, and the Responder Chain.
-jcr
"I fear all we have done is to awaken a sleeping giant and fill him with
a terrible resolve." -Admiral Isoroku Yamamoto, Dec 7, 1941.
References: | |
| >[Q] key Event (From: "Lizardo H. C. M. Nunes" <email@hidden>) |