Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date Text Boxes
Message
From
30/11/1999 12:33:43
 
 
To
30/11/1999 12:29:24
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00293408
Message ID:
00296959
Views:
22
>>>
>>>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.
>
>But Quicken also has hot keys specified such as m to go to first day of month, h to go to last, etc.

True. I had forgotten about those. Anyways, I use my own class that lets you highlight any part of the date (month, day or year), and then the +/- increments/decrements just that piece.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform