• 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: Reset/Cancel an NSSearchField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: making a screen dump app
  • Next by Date: Re: pb with awakeFromNib
  • Previous by thread: Reset/Cancel an NSSearchField
  • Next by thread: Re: Reset/Cancel an NSSearchField
  • Index(es):
    • Date
    • Thread