>>Hi Trish.
>>
>>
Does anyone have a control that will validate the input of time?>>
>>If you have a copy of
1001 Things You Wanted to Know About Visual FoxPro, we have a time spinner based on the native VFP spinner that does exactly what you want in chapter 4:
>>
>>
The true time spinner (Example: CH04.VCX::spnTime)>>
>>This control looks and acts just like the time spinner you see when using the Date/Time Picker ActiveX control that ships with Visual Studio. However, it has several features that make it more generally useful than the ActiveX control. First, this control does not require that it be bound to a field of the DateTime data type. As we have said, the best format for storing user entered time is in a character field formatted to include the universal ‘:’ time separator. The control can be configured to display and recognize either a 5-character ‘hh:mm’ format or a full 8-character ‘hh:mm:ss’ format and update either appropriately. This is controlled by a single property, lShowSeconds. Finally, because this is a native Visual FoxPro control it does not suffer from the inherent problems that haunt ActiveX controls with respect to the multiple versions of specific windows DLLs, nor are there any problems associated with registering the control.
>
>
>I have used the Date/Time control in many projects and have never encountered problems. Also, you don't need to data bind the control. You can just use normal code to handle the value setup and saving. The control also supports multiple formats for display plus a custom format that lets you specify exactly how you want it using a format string.
Exactly :)
I've been using them too for a long time and Foxyclasses datetimectrls classes also utilizes them w/o a problem.
Cetin