Re: Programatically Triggering an NSSearchField Search
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