Home About us Development Training Support |
Calendar and Diary
Using the CalendarDisplaying the calendar is a simple matter of making its window visible:
Activate Window
'calendar'
The date selected by the user is stored in the _DIARYDATE system variable. You can read and write to this variable whether or not the Calculator window is visible. If you write to _DIARYDATE:
_DIARYDATE
=
{25/12/2006}
then the Calendar will (at least in England) display the month of December 2006 with the 25th selected. The notes for each day are stored in the Data field of the FoxUser table. The Calendar will still work without the resource file but an unpleasant warning message is displayed before the calendar appears.
Like the Calculator , the Calendar tool has been available in FoxPro since version 2.00. |
Hints & tips
The textbox class in Visual FoxPro 9 has a new Autocomplete
property which shows the user the previous values that have
been entered in that textbox.
More...
|