Re: responding to NSStepper clicks
Re: responding to NSStepper clicks
- Subject: Re: responding to NSStepper clicks
- From: Koen van der Drift <email@hidden>
- Date: Fri, 16 Dec 2011 07:59:44 -0500
On Thu, Dec 15, 2011 at 10:50 AM, Koen van der Drift
<email@hidden> wrote:
> On Thu, Dec 15, 2011 at 10:17 AM, Mike Abdullah
> <email@hidden> 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@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