Re: NSTableView lost focus detection
Re: NSTableView lost focus detection
- Subject: Re: NSTableView lost focus detection
- From: "Sean McBride" <email@hidden>
- Date: Fri, 1 Apr 2005 09:53:34 -0500
- Organization: Rogue Research
On 2005-03-31 18:55, Adam said:
>So basically, how do I know or detect a change of the focused status of
>an NSTableView / NSTableViews selected cell?
I think I know what you mean... I use this in a NSView subclass I have:
- (BOOL)isFirstResponder
{
// to be 1st responder you must be 1st responder and your window must be key
return [[self window] isKeyWindow] && ([[self window] firstResponder] ==
self);
}
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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