Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text box format
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00390964
Message ID:
00390970
Vues:
8
>I have a text box that is used to enter phone numbers of 10 digits. How can I set it up so that when the person enters the number, the box shows the dashes but the dashes are not actually saved as part of the number. I tried setting the input mask of the text box to
>999-999-9999, but it saved the dashes and droped two of the digits.
>
>Thanks,
>Ryan

From the HELP of Format property:
R Displays the format mask for the text box that is specified in the InputMask property. The mask formats data for easier entry and clearer display (for example, if the mask is 99-999, the number 12345 is displayed as 12-345), but is not stored as part of the data. Use only with character or numeric data.
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