Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inputmask for hour
Message
De
15/01/2005 13:40:08
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 6
Divers
Thread ID:
00977403
Message ID:
00977480
Vues:
29
>I read that. In looking over the documentation, there's no indication of what might happen if, as in your case, an invalid character is used.
>
>You might want to let MS know about this through their web site. I'm not sure if Esther Fan is still doing doc review, otherwise, I'd suggest that you email her about it.

Now that I think of it, it is actually quite logical, although it didn't seem so to me at first.

Invalid characters, as the ":" in "##:##", are shown, but for purposes of user input, they are simply skipped.

Say you have an InputMask like "##-##". The "invalid" character (not specified as an InputMask character), "-", is skipped.

Now, if you have one or more invalid characters at the beginning, as in "---##", the cursor will immediately skip to the first valid character.

Now, if I use an InputMask consisting only of invalid characters, for instance, "-----", there is no place to input data. Then, where else should the cursor go, but to the next field.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform