Re: [flexcoders] NumericStepper, Custom Format

2006-09-02 Thread Abdul Qabiz



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.



  






__,_._,___



[flexcoders] NumericStepper, Custom Format

2006-09-01 Thread lostinrecursion
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 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/