<nRow> is an optional screen row for calendar display, default row 1.
<nCol> is an optional screen col for calendar display, default col 63.
<cColor> is an optional color string for displayed messages, default is bright white text over green background.
<lShadow> is an optional logical variable. If true (.T.), it uses FT_SHADOW() to add a transparent shadow to the display, default (.F.).
<lShowHelp> is an optional logical variable. If true, uses FT_XBOX to display a four line help message if the F1 key is pressed, default (.F.).
Returns
aRetVal is an 8 element array containing date, month, day, year, month (in character format), day of the week, julian day and current time.
Description
FT_CALENDAR() simply displays today's date, time and julian day in a two line display with an optional box shadow. Cursor keys may be used to page through the calendar by day, week, month or year increments. Returns an 8 element array of calendar data:
Element Value [1] Date in current date format. [2] Numeric month number. [3] Numeric day number. [4] Numeric year number. [5] Month in character format. [6] Day of the week in character format. [7] Numeric Julian day. [8] Current time in time format.
WARNING: FT_CALENDAR uses FT_SHADOW and FT_XBOX from the Nanforum Toolkit!