Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Time Display
Message
 
 
À
06/01/2001 23:38:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00460135
Message ID:
00460348
Vues:
13
>That doesn't address the input issue at all; you need to construct an input composite with two or three segments (hours/min or hours/min/secs) and convert them to a datetime(). My general inclination would be to build a composite object from a container with spinners for each area, and convert to a datetime
() when the various control's LostFocus() fired, updating the spinners.

Ed,

Yes, you're right. My answer addresses only display problem, not input problem (in my applications I haven't dealt with this issue yet). Ok, I found few classes in Files section, which Abdul can use:
File #000538 by Corey Rector Time Spinner
File #000647 by Benn Kjaer Entering time using a spinner
File #000804 by Terence Tam (Justok) Container Object for DateTime Field
File #9430903 by John Koziol Time Entry TextBox Class (personally, I thought about using TextBox and validate input in KeyPress)

I haven't used any of these classes, so I can not advise, which one to use. My own idea is similar to John's (I didn't check the implementation), so I probably would start from the last one.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform