Re: NSSearchField - detect loss of focus
Re: NSSearchField - detect loss of focus
- Subject: Re: NSSearchField - detect loss of focus
- From: Matt Neuburg <email@hidden>
- Date: Sat, 29 Jul 2006 14:42:28 -0700
- Thread-topic: NSSearchField - detect loss of focus
On Sat, 29 Jul 2006 11:51:45 -0400, Jim Correia <email@hidden>
said:
>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?
I'm not understanding why controlTextDidEndEditing: doesn't do it for you.
It corresponds exactly to everything I think of intuitively as "loss of
focus". Have you some counter-example? m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
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