Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Putting a decimal in programmatically
Message
De
23/10/1998 22:18:46
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00150068
Message ID:
00150069
Vues:
26
>hi
>
>I don't find the format/inputmask properties to work out this problem I'm having.
>I want to enter an amount into a textbox and have the value change it to put the decimal point in the correct place when leaving the control.
>ex: Enter 2559 and get 25.59 without entering a decimal point manually. Adding machines have this feature.
>
>I thank anyone with the answer.

Set inputmask 9999,9999.99 and in the valid event of the control write something like "THIS.VALUE = THIS.VALUE/100"
There´s a better life... Just it´s more expensive!
Cristóbal Manrique M.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform