Re: Reset/Cancel an NSSearchField
Re: Reset/Cancel an NSSearchField
- Subject: Re: Reset/Cancel an NSSearchField
- From: Matt Neuburg <email@hidden>
- Date: Tue, 19 Jun 2007 07:44:58 -0700
- Thread-topic: Reset/Cancel an NSSearchField
On Tue, 19 Jun 2007 18:52:07 +1000, Steve Steinitz
<email@hidden> said:
>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.
Gosh, it has always worked just fine for me. But perhaps my expectations are
different... m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
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