Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inputmask for hour
Message
De
14/01/2005 19:57:30
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
14/01/2005 19:44:30
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:
00977414
Vues:
27
>>How do I specify an InputMask for an hour? I want to force the user to input data in the format 00:00, but when I use that InputMask, the TextBox never gets focus. As soon as I click on it, the focus goes to the next object in the TabOrder.
>>
>>TIA,
>>
>>Hilmar.
>
>TextBox.InputMask = "##:##"
>
>Your controlsource for this should be character, and you'll need to validate the ranges in code.

Thanks, that was it. Strangely, I had temporarily forgotten some of the most basic details about InputMasks, and tried to use "0" instead of "#" for the digits.
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