Contents Topics Index  <<  >>

TWallCalendar.SetCalendarDate method


Unit

WallCalendar

Applies to

TWallCalendar

Declaration

function SetCalendarDate ( aDate : TDateTime ) : boolean ;

Description

The SetCalendarDate function allows you to set the current calendar date by the date specified in the aDate parameter. The current CalendarMonth , CalendarYear and currently highlighted cell will be changed to reflect the specified date.

This function will return a false result if the specified date is less than January 1st, 1900 or greater than December 31st, 2099.

See also: CalendarMonth , CalendarYear , SetSelectedCellByDate , SetSelectedCell