Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Character...
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00518404
Message ID:
00518419
Vues:
10
Many developers don't fully understand the difference between the InputMask and the Format property. I still get stuff confused with those 2 props.

I think it helps to think of an InputMask as a stencil that you would use to spray paint your street number on the curb by your house. Once you have painted [entered] the numbers, you remove [do not save] the stencil [mask]. All that remains are the numbers [data]. Now the Format of the street number would be represented by a 9 for each number needed.

>Wow, you not only beat me to it, you added all sorts of other information that one could find by reading the help file. < g,d&r >
>
>Michelle
>
>>Put KRA! in the Format property. The K is for SelectOnEntry [optional], the R means to not save the mask characters to the ControlSource field [also optional]. In the InputMask, put (xxx) xxx-xxxx This is a typical phone number format, but this is only an example. The x's allow any input, but because the format property also has A and !, the control will only accept characters and will convert to uppercase.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform