On Thu, Jan 21, 2010 at 6:00 AM, Florian Soenens <florian.soen...@nss.be> wrote:
> Hi LIst,
>
> i set up an NSPredicateEditor and got it all working fine except that it
> only executes when i hit enter or tab out of the NSTextField.
> Is there a way to let it execute everytime something changes in the
> textfield?
>
> I tried checking the "continuous" button in IB but that is impossible, it
> always unchecks itself. I also tried setting continuous programatically but
> to no avail...
>
> Anyone has any suggestions?
>
> Kind regards,
> Florian.

Add an observer for notifications of
NSControlTextDidChangeNotification. When the predicate editor updates
a text field, it'll send this notification with itself as the object
value.

-- 
Jim
http://nukethemfromorbit.com
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to