Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Control to enter duration
Message
De
29/05/2007 11:46:34
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01228473
Message ID:
01229079
Vues:
15
>>Nadya,
>>
>>One textbox will do
>>
>>It holds one integer
>>
>>Set
>>- its value to 0
>>- format to RL
>>- Inputmask to 99:99
>>
>>- Valid event to
>>
>>if( (int(this.value/100) > 24) or ( mod(this.Value,100) > 59) )
>>	wait window nowait '00:00 - 23:59'
>>	return 0
>>endif
>>
>>
>>Easily 'upgraded' to hh:mm:ss ( 99:99:99 )
>
>I quickly tried this solution, but it's a bit inconvenient for the input if, for example, I want to enter 1:10 (one hour 10 minutes) I asked for re-newing a subscription...

What problem do you have ?
for 1:10  enter 110
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform