| |
| DateTimeCtrl |
| |
| DateTimeCtrl is
a Visual FoxPro class for easy date and time selection.
There are three controls in this class: |
| |
|
|
Date
Picker: For entering dates. |
| |
 |
|
Time
picker: For entering time |
| |
 |
|
DateTime
picker: For entering date-time values. |
| |
| To use these classes,
you simply drop them on your form. |
| |
| The Date
class consists of a date text box with a calendar
icon. The user can type the date in or click on
the calendar icon to use the MS Active X calendar.
The user can browse months or move to a different
year and visually select the appropriate date by
clicking on it. |
| |
| The Time
entry class has spinner controls. The user
can either type in the appropriate time or use the
spinners to select them. A regular spinner click
will change the time by a 5-minute jump. Using Shift
+ click causes a 15-minute jump and Ctrl + click
causes a 30-min jump. |
| |
| The DateTime
class has both the Date and Time entry boxes for
entering datetime values. You can directly read
the value in VFP's datetime
format via the controls' .timevalue property. |
| |
 |
| |
| Download
the sample application to experiment with this class
first hand. |
| |