Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Numeric fields
Message
De
16/06/2009 11:59:53
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Vista
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01406384
Message ID:
01406388
Vues:
56
>All,
>I have an app and on a tab i have 10 fields. they are not linked to DB fields but i need them to be numeric. i have an input mask of 9999999.99 so i canot enter characters. but if i type in 12.34 the field ignores the decimal and i get 1234. it is only if i place the cursor int he correct place that i get 12.34. any ideas? also on the layout if i enter 12 and there are 3 spaces between the 2 and the decimal place the numbers stay where they are and it looks odd
>~M

Set these textboxes as having numeric value, e.g. add This.Value=0 to Textbox.Init, or use This.SetAll('value',0,'textbox') in form.init
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform