Thanks Mike, I'll look at that as well. I am indeed using that binding. - Koen.
On Fri, Dec 16, 2011 at 10:40 AM, Mike Abdullah <[email protected]> wrote: > Your text field is is bound to the model/a controller right? If so, you want > the "updates immediately" binding option. > > On 16 Dec 2011, at 12:59, Koen van der Drift wrote: > >> On Thu, Dec 15, 2011 at 10:50 AM, Koen van der Drift >> <[email protected]> wrote: >>> On Thu, Dec 15, 2011 at 10:17 AM, Mike Abdullah >>> <[email protected]> wrote: >>> >>>> NSStepper is a subclass of NSControl. Hook up its action/target to be >>>> notified when it's adjusted. >>> >>> I'll try that, thanks. Using bindings sometimes makes you forget that >>> there is still some cdong needed :) >>> >>> - Koen. >> >> (with cdong, I meant coding :) >> >> Adding an IBAction did the trick indeed. One aditional question, how >> do I make the textfield immediately send the updated value to >> controlTextDidChange without the need of htting enter of tabbing out >> of the field? See eg the Date/Time preference panel. >> >> - Koen. > _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
