Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
InputMask not what I expected
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01049792
Message ID:
01049793
Vues:
18
>I have a currency text field on my form that works great. $0.00 is the empty value, and then when you type and leave the field it adjust to the input value and ads the formatting $1,222.00. I copied that textbox onto another form and removed the controlsource. This new field is acting goofy. It leaves blank areas in the field during input. Shows no commas, $ or periods. And the val(field1) is 150.00 if I typed in 150000.
>
>how do i correct this goofy textfield
>
>inputmask 999,999,999.99
>format $KT
>

The default type of value in a textbox is a character. Either bind textbox to a form property with value $0.00 or set textbox.value = $0.00.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform