I don't think that is supportedi n NumericStepper. But it would be easy to do, since you code with you now..Look at following functions of mx.controls.NumericStepper class,- checkValidValue (..)- setValue (..)
- takeValueFromTextField (..)You can subclass NumericStepper, override these functions and also add some getters/setters to have custom formatFunction..Basically, you would format (using format function) before showing in NumericStepper. Similarly you would format back the user's input, from Numeric stepper's textfield, to number before any operation (increment, decrement, min/max, range check etc done by Numeric stepper code).
-abdulOn 9/2/06, lostinrecursion [EMAIL PROTECTED] wrote:
Forgive me, but I did not see a mention of this in the docs. How can I
apply a Custom Formatter to a NumericStepper component? For example,
displaying currency values instead of integers.
Thanks.
-Kenny
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Software development tool
Software development
Software development services
Home design software
Software development company
YAHOO! GROUPS LINKS
Visit your group "flexcoders" on the web.
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___