Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DateBox class
Message
 
To
17/11/1998 11:19:27
Tim Hockin
Illinois State U - Residential Computing
Normal, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00158283
Message ID:
00158331
Views:
16
>This works great - so long as the datatype in the Controlsource is not a Date
>type.

The only thing I can think of is to unbind the textbox on GotFocus, and re-bind it on LostFocus.

IOW, save the txt.ControlSource to txt.oControlSource, and txt.Value = DTOC(EVAL(txt.oControlSource)). On the way out, after you verify the date value, reset the txt.ControlSource and set the txt.Value = ldMyNewDateValue.

Caveat: untested....
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Reply
Map
View

Click here to load this message in the networking platform