|
-
Aug 4th, 2000, 05:26 PM
#1
Thread Starter
Lively Member
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
-
Aug 4th, 2000, 05:40 PM
#2
Junior Member
Re ...
You can Add A component
That Called Microsoft Masked edit control
And From there you can put any mask u like
KraMba

-
Aug 4th, 2000, 05:42 PM
#3
Thread Starter
Lively Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|