NSSearchField - detect loss of focus
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