Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Control to enter duration
Message
De
30/05/2007 02:47:08
 
 
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:
01229214
Vues:
32
This message has been marked as a message which has helped to the initial question of the thread.
>>If your store hhmm and you know it, then the minutes become int(hhmm/100) * 60 + mod(hhmm,100)
>>[ or use a view ]
>>
>>You can convert it to minutes - by the control or by the record rule. You could then have another control to display the minutes in hh:mm by simply change the controlsource
>>[ or use a view ]
>>
>>>
>>>Anyway, for now I put the problem aside and working on something else right now. It's also a good idea to go out and take some lunch...
>>
>>Keep me posted after you have found the other classes
>
>Hi Gregory,
>
>Ok, I think for this form txtTime class with my minor modifications to save data as an integer field in minutes would work. I actually already implemented it. The spinner class as is didn't work.
>
>It is very similar to what you proposed, so thanks again.

Hey, you're welcome

(1) Spinners look great, but when using the mouse it takes time
(2) Things in a book are not better per definition
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform