• 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
NSSearchField - detect loss of focus
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSSearchField - detect loss of focus


  • Subject: NSSearchField - detect loss of focus
  • From: Keith Wilson <email@hidden>
  • Date: Fri, 6 Jan 2006 23:26:17 +1100

I have an NSSearchField in my toolbar and the results of the search are displayed in an NSTableView - very similar to the way it works in OSX 10.4 in the search field in the Apple System Preferences panel.

After searching the user can
(a) select an item from the NSTableView or
(b) click anywhere else on the screen to indicate that they are no longer interested in the search results.


For case (b) how do I detect when the NSSearchField loses keyboard focus - so that I can then hide the NSTableView?

Thanks, Keith



_______________________________________________
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


  • Follow-Ups:
    • Re: NSSearchField - detect loss of focus
      • From: Corbin Dunn <email@hidden>
  • Prev by Date: Re: Not getting filetype info from FSGetcatlogInfo() function
  • Next by Date: Re: Not getting filetype info from FSGetcatlogInfo() function
  • Previous by thread: Any idea for One time authorization....
  • Next by thread: Re: NSSearchField - detect loss of focus
  • Index(es):
    • Date
    • Thread