• 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: Programatically Triggering an NSSearchField Search
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programatically Triggering an NSSearchField Search


  • Subject: Re: Programatically Triggering an NSSearchField Search
  • From: Steve Steinitz <email@hidden>
  • Date: Wed, 26 Nov 2008 21:00:14 +1100

Hi Frédéric

Thank you for your helpful reply.

On 26/11/08, Frédéric Testuz wrote:

I'm not sure but did you try :

[searchfield validateEditing];

- (void)validateEditing

Thank you so much for pointing me to NSControl. I found many goodies there. validateEditing on its own did not solve the problem but I threw everything at it and now it works!


Here is what I added:

    [searchfield validateEditing];
    [searchfield abortEditing];
    [searchfield performClick: self];
    [searchfield controlTextDidEndEditing: nil];

In the morning, I'll work out the minimum required and report back.

Thanks again,

Steve

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


References: 
 >Re: Programatically Triggering an NSSearchField Search (From: Frédéric Testuz <email@hidden>)

  • Prev by Date: Re: NSTableView Drag-Drop re-ordering...
  • Next by Date: Re: NSTableView Drag-Drop re-ordering...
  • Previous by thread: Re: Programatically Triggering an NSSearchField Search
  • Next by thread: Re: Programatically Triggering an NSSearchField Search
  • Index(es):
    • Date
    • Thread