Re: keyDown: not responding
Re: keyDown: not responding
- Subject: Re: keyDown: not responding
- From: Sam Goldman <email@hidden>
- Date: Tue, 05 Feb 2002 22:26:12 -0800
Look up the responder chain. It is quite well documented.
- Sam
On 2/5/02 10:02 PM, "John Scalo" <email@hidden> wrote:
>
Seems like a simple thing but I can't get it to work. I have a controller
>
class that is a subclass of NSView. At some point a sheet is displayed which
>
contains only a static text field: "Enter a key combination now". At that
>
point I want to intercept key events, but my
>
>
- (void)keyDown:(NSEvent *)event
>
>
method never gets called.
>
>
I thought that if something was a subclass of NSView, and it overrides
>
keyDown:, then it would just work. Apparently not. What am I missing?
>
>
Thanks
>
John
>
_______________________________________________
>
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.
--
Windows is a 32-bit patch to a 16-bit shell for an 8-bit operating system
written for a 4-bit processor by a 2-bit company without 1 bit of sense.
_______________________________________________
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.