Does anybody know of a downloadable clock that i would be able to pop up from the gotfocus of a textbox . Get the the user to make a selection and return that value to the text box?
I've been looking for one of these for a long time... I never found one (Tried to code my own by using the "Control" class... never worked very well).
I've settled on using the Date Time Picker. It's not pretty, doesn't look like a clock, but it works... then we add (in KeyPress) sensing of +/- keys to inc/dec the hour, min, sec, etc.
When you say clock, are you refering to the "analog" variety? (Numbers 1 thru 12; hour, minute, and second hands <g>) or are you needing to enter time?
You can use the DateTime picker from Microsoft.
If you find using it a bit troublesome, try the KB article written as an example "Visual FoxPro 6.0 Sample: Demonstrates How To Use the DateTimePicker Control", the id is 259646. This URL may go directly to it
It's my guess that by "clock" Redsz does mean the analog variety... because that's what I mean. I think dragging the hands on a clock would be the fastest way to set time with a mouse... using date Time picker just gives you a spinner for hr min or sec, (If I remember correctly), and it's a pain to use with the mouse... but picking a date with it is a breeze!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.