Re: Help needed with the key down event in NSTextField
Re: Help needed with the key down event in NSTextField
- Subject: Re: Help needed with the key down event in NSTextField
- From: "Nick Kreeger" <email@hidden>
- Date: Tue, 20 Jun 2006 10:28:39 -0500
Could be because the NSTextField is not the FirstResponder for that event
(or another outlet is getting to the key event before the NSTextField).
I would try implementing some of the lower-level delegate methods like
|keyDown:| or |performKeyEquivalent:| to see if you can see the event.
Nick
On 6/20/06, Vinay Prabhu <email@hidden> wrote:
Hi,
I am using NSTextFiled in my application.
I have subclassed the NSTextField and implemented the
"keyDown" and "keyUp" methods.
The problem is, when any key pressed, only the "keyUp" is called "keyDown"
is not called.
Any idea, when "keyDown" is called?
Thanks,
Regards
Vinay
The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)and
may contain confidential or privileged information. If you are not the
intended recipient, please notify the sender or
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden