Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Currency entry
Message
De
15/08/2000 16:57:57
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00405216
Message ID:
00405221
Vues:
33
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform