Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textbox entry
Message
 
À
13/07/2005 11:00:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Database:
Visual FoxPro
Divers
Thread ID:
01032237
Message ID:
01032283
Vues:
19
>I have a textbox on a form that a dollar amount will be entered. I have an input mask on of 99999999.99 On entry, I would like it to move to the correct position when the "." is entered by the user. Right now, it ignores the "." and continues where the cursor is.
>
>EG: If I click into the field on the third position after the decimal and enter 50.00 it actually will appear 500.0 as it is now. I would like it to show the 50.00.
>
>Any suggestions?
>
>Thank you

Christine,
set value property of textbox to
0.00
In init event on form
SET POINT TO '.'
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform