Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date textbox
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00506928
Message ID:
00507096
Views:
14
Jay -

Very interesting solution. Only question is, what if it's not a "Tab" keystroke? A menu selection or button click can have the same effect.

I know that some people have tried to enter dates as strings, and then convert them. I don't know how successful that is.

Not trying to be a naysayer, but I think we may be stuck with the VFP default behavior here.
zahid

>You can capture a tab or enter in the KEYPRESS and look at the TEXT property to see what the user has entered. If you process before any DODEFAULT(), I think you'll get user entry, rather than a reformat based on the control source -- but I haven't tested this.
>
> Jay
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform