FROM : Nick Kreeger
DATE : Tue Jun 20 17:28:39 2006
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_removed>> 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_removed>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/kreeger.<email_removed>
>
> This email sent to kreeger.<email_removed>
>
DATE : Tue Jun 20 17:28:39 2006
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_removed>> 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_removed>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/kreeger.<email_removed>
>
> This email sent to kreeger.<email_removed>
>
| Related mails | Author | Date |
|---|---|---|
| Vinay Prabhu | Jun 20, 14:45 | |
| Nick Kreeger | Jun 20, 17:28 | |
| Douglas Davidson | Jun 20, 17:43 | |
| Vinay Prabhu | Jun 21, 09:13 | |
| Chris Suter | Jun 21, 09:18 |






Cocoa mail archive

