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




Additionally, read the documentation on NSFormatter and the Data Formatting Programming Guide. That'll help you understand what's going on a bit better.


file:///Developer/ADC%20Reference%20Library/documentation/Cocoa/ Conceptual/DataFormatting/index.html

file:///Developer/ADC%20Reference%20Library/documentation/Cocoa/ Reference/Foundation/Java/Classes/NSFormatter_index.html#//apple_ref/ doc/uid/20000470

--
I.S.


On Sep 29, 2006, at 10:19 AM, 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?

It's in interface builder, text palette, lower left corner. The one with the dollar sign. Just drop it on the text field and check out the properties in the inspector.

_______________________________________________ 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>)
 >Re: Rounding the output value while the slider is being moved (From: Artemiy Pavlov <email@hidden>)
 >Re: Rounding the output value while the slider is being moved (From: Hank Heijink <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.