Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Edit date values
Message
From
02/01/2013 15:10:21
 
 
To
02/01/2013 14:42:15
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01561088
Message ID:
01561090
Views:
108
Likes (1)
>If I'm not mistaken, I believe that a VFP textbox bound to a date field had some built in smarts that would let end users edit the date value by using the up/down arrow keys (and perhaps pageup/pagedn too). The month/day/year portions of the date would be automatically highlighted/selected and simply by pressing the up/down arrow keys, the highlighted value would increase/decrease by 1.
>
>Am I just dreaming that this was the way it worked out of the box? If not, can anyone give me some pointers as to how I go about getting it done? I've tried fooling with the input mask and format properties of the textbox but no joy.
>
>TIA
>Mike

If I'm not mistaken, the built-in textbox control doesn't have that functionality with date values. You could however use the DTPicker ActiveX control.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform