Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rounding the output value while the slider is being moved



Hello Hank, and thanks for the reply!

On 29 Sep 2006, at 4:57 PM, Hank Heijink wrote:

I would just put a number formatter on your textfield.

Uhm, I am not sure how I'd do that - is it in the docs for NSTextField?

Personally I would use bindings for a case like this -- it saves you from having to manually update the textfield when the slider is moved and vice versa.

Yes I know, but how would I go about to round the value then?


Yours,

Artemiy.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Rounding the output value while the slider is being moved (From: Artemiy Pavlov <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.