• 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
Re: Help needed with the key down event in NSTextField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Help needed with the key down event in NSTextField (From: Vinay Prabhu <email@hidden>)

  • Prev by Date: Re: Is it a bug in NSAffineTransform?
  • Next by Date: Re: Slice a .txt file in lines
  • Previous by thread: Help needed with the key down event in NSTextField
  • Next by thread: Re: Help needed with the key down event in NSTextField
  • Index(es):
    • Date
    • Thread