Contents Topics Index  <<  >>

CellMessages property


Unit

WallCalendar

Applies to

TWallCalendar

Declaration

CellMessages : array [ 0..6 , 0..5 ] of TStringList ;

Description

The CellMessages array represents a matrix corresponding to columns 0 through 6 and rows 1 through 5 in the calendar area.

You can set the these values manually, or use the SetCellMessage or SetCellMessageByDate methods to set these values by Row and Column or by date.

Any text defined in a cell will appear as a pop-up hint when the mouse cursor hovers over that cell. CellMessages will be erased when the CalendarMonth or CalendarYear properties are changed.

The CellMessages array gets cleared every time the calendar month and/or year changes. Since this array only pertains to the current calendar, it is up to you to save these values if necessary.

See also: SetCellMessageByDate , SetCellMessage , GetCellMessageByDate , GetCellCoordinatesByDate