Re: NSSearchField - detect loss of focus
Re: NSSearchField - detect loss of focus
- Subject: Re: NSSearchField - detect loss of focus
- From: Jim Correia <email@hidden>
- Date: Sat, 29 Jul 2006 11:51:45 -0400
To revive an old thread:
http://www.cocoabuilder.com/archive/message/cocoa/2006/1/6/153953
Corbin wrote:
Take a look at resignFirstResponder. You'll have to subclass
NSSearchField, and you can send your delegate a message in this
method.
I'm running into a similar need here - I have an NSTextField subclass
that wants to know when it is no longer "firstResponder".
I put firstResponder in quotes because NSTextField is never
firstResponder for long. In -becomeFirstResponder it sets up the
field editor and makes it the firstResponder. (Thus overriding -
resignFirstResponder doesn't help, since that happens right away.)
Have I missed something obvious, or is this simply incorrect advice?
Thanks,
Jim
_______________________________________________
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