-
I am looking to use the Masked Edit Box (or Even The regular Edit Box) for a currency value. I am wondering if there is a way to do the bahaviour I am after or if I should create a custom control to do it. Anyway, here is what I am after:
I want the box to display a $ on the left hand side. (easy enough)
I want a fixed decimal precision of 2.
Ideally I would like the numbers entered to start from the right and shift LEFT as new ones are entered. For instance:
starting text - $0.00
enter a '1' $0.01
enter a '2' $0.12
enter a '3' $1.23
enter a '4' $12.34
See what I mean?
Is there a way to do this using existing controls? or should I be concentrating on creating my own?
Thanks,
Cthulhu Dragon
-
Re ...
You can Add A component
That Called Microsoft Masked edit control
And From there you can put any mask u like
-
Yes I know, but it does not to my knowledge have the functionality that I am looking for. It formats currency but does not enter the data the way I would like.