• 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: NSTableView lost focus detection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: NSToolbar Problem
  • Next by Date: Re: NSToolbar Problem
  • Previous by thread: RE: NSTableView lost focus detection
  • Next by thread: AppleEvents
  • Index(es):
    • Date
    • Thread