Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Comma in text box
Message
De
22/03/2004 15:38:21
 
 
À
22/03/2004 15:14:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00888628
Message ID:
00888636
Vues:
9
If just in an object on a form then put in .Valid or .LostFocus event. If it is a textbox class can put in an _Assign method. Then you can drop that box on any form you want this desired result.
This.Value=ALLTRIM(TRANSFORM(VAL(This.Value),"###,###"))
Play with the command to get the exact desired result.

Aloha,

James
>Hi
>
>I have a text box with inputmask='99,999' I want the comma only if the amount is > 1000
>
>thanx
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform