Reset/Cancel an NSSearchField
Reset/Cancel an NSSearchField
- Subject: Reset/Cancel an NSSearchField
- From: Steve Steinitz <email@hidden>
- Date: Tue, 19 Jun 2007 18:52:07 +1000
Hello,
I see that this question was asked back in 2005 but I don't believe it
ever got an answer.
How can I programatically reset an NSSearchField? In other words how
can I 'cancel' the existing search, like the NSSearchField's cancel
button does?
Among other things, I tried:
[[theSearchField cell] setStringValue: @""];
but didn't really expect it to work.
Thanks for any ideas.
Steve
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden