CALENDAR

From Recital Documentation Wiki
Jump to: navigation, search

Purpose

Display a pop-up monthly calendar relating to today or to a specified date


Syntax

CALENDAR

[AT <expN1>,<expN2>]

[BOLD]

[CLEAR]

[DATE <expD>]

[LABEL <expC>]

[MENU [SCHEDULE]]


See Also

@...GET, CALCULATOR, DB_NOCALENDAR, Function Keys, SET SCHEDULE, SET SHADOW


Description

The CALENDAR command displays a pop-up calendar page for the current month, with today's date highlighted. Alternatively, it can be used to display the monthly calendar relating to a specified date.

When editing a date field, pressing the [HELP] key invokes the CALENDAR. Selecting a date from the CALENDAR causes the date value to be returned to the field.


Keyword Description
AT <expN1>,<expN2> Specify the calendar top left row and column coordinates. If no coordinates are specified, the calendar is centered on the screen.
BOLD Display the calendar in bold, if supported by the terminal display.
CLEAR Clears the screen behind the calendar display area.
DATE <expD> Specify a date to be displayed on the calendar. The dates from that month will be shown and the date <expD> itself will be highlighted.
LABEL <expC> Specify a character expression <expC> to replace the default title "Calendar".
MENU Allows the calendar to be 'paged' between months. You can locate a specific date using the [FIND] key and select a date by pressing [EXIT/SAVE] when the required date is highlighted. The MENUITEM() function will return the selected date from the CALENDAR, or a null string if no date is selected.
MENU SCHEDULE Also displays the time scheduler, allowing appointment and other details to be associated with a specific date and time.


Example

calendar menu at 10,10


Products

Recital