>>>>How can I use the Valid Event of a Text Box to make sure a Valid date was typed in?
>>>In the init of the textbox put.
>>>this.value = {//}
>>
>>Oh, duh. Thanks, Evan, this one goes into my bag of tricks -- I was thinking down the lines of CTOD, as Mike (I think) posted....
>
>Garrett,
>
>It's even easier. In the Control.Value in the designer, put {} as the value or in the Init put This.Value= {}. Better yet, subclass the textbox and create a date box. In the KeyPress you can add code to make it work like the datebox in Quicken.
You don't really need to add code to make it work like Quicken. If you highlight the field (all selected), the + and - keys will increment/decrement the date respectively. Been this way since VFP5, at least.