Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Time Entry Combo/Spinner
Message
De
04/11/2003 08:16:52
 
 
À
03/11/2003 10:48:12
Sony Joseph
Dovenmuehle Mortgage Inc
Schaumburg, Illinois, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00845624
Message ID:
00845950
Vues:
24
I didn't find any controls that do directly what you want. You could acheive what you want with the Microsoft Forms 2.0 SpinButton ActiveX control, 4 textbox and a little work.

You place 4 textboxes on the form. One for each part of the time (hour, minute, seconds, AM/PM). You place the SpinButton control next to it. In the SpinButton SpinUp and SpinDown methods, you place code to increment/decrement the last selected textbox with the necessary logic to increment/decrement the other parts of the time textboxes as needed when the selected part wrap around.

It may not be pretty but it should work.

HTH

>Is there a combo/spinner control that I can use to Select time? I use a Spinner now with military time 0-23, I want to give the user 1-12 AM/PM in the control. I know I can place anothere AM/PM selector combo, but is there a better way to accomplish this?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform