Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Input Mask in a Grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01264909
Message ID:
01264912
Vues:
13
>Hi All,
>
>When entering numbers into a grid how can I set the Input mask so when you type you see 1000 and as soon as you hit enter you will see the following 1,000?
>
>Currently I have the column and text input mask property set to 99,999,999.
>This is creating confusion for some users when entering numbers since they see 10,00 when attempt to enter 1,000?
>
>Thank you,
>Daniel

In the GotFocus event of the textbox save the current InputMask into the custom property and remove the commas from the InputMask. Then reset it back to original in LostFocus event.

You may have your own class for this purpose.

See details in Re: Amount textbox Thread #1247404 Message #1247562
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform