Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Time Entry Combo/Spinner
Message
From
04/11/2003 08:16:52
 
 
To
03/11/2003 10:48:12
Sony Joseph
Dovenmuehle Mortgage Inc
Schaumburg, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00845624
Message ID:
00845950
Views:
22
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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform