Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Currency entry
Message
From
15/08/2000 16:57:57
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00405216
Message ID:
00405221
Views:
32
Jim Booth posted a textbox class to "fix" numeric data entry and you might be able to use that as a jumping off point. It's here in the Files section.

>
>Any good textbox classes or tools for entering currency?
>
>For example, I would like to display the following when user enters 1234.56
>
>
>key - display
>1   - $1.00
>2   - $12.00
>3   - $123.00
>4   - $1,234.00
>.   - $1,234.00
>5   - $1,234.50
>6   - $1,234.56
>
>
>Should have the option of displaying nothing or $0.00 if value is $0 and of course, needs to handle negative numbers.
>
>I've actually written a class to do this, but its quite complex and I'd love to find a simpler way.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform