Contents Topics Index  <<  >>

DayColors property


Unit

WallCalendar

Applies to

TWallCalendar

Declaration

DayColors : array [ 0..6 , 0..5 ] of TDayColors  ;

Description

The DayColors array allow you to control the background and text color of each cell in the calendar area. The array is a matrix of columns 0 through 6 by rows 0 through 5, which represent the calendar area. If a specific date or day should be colored differently for any reason, this array should be used.

The default values for these fields for all cells is clWhite for the BackGroundColor and clBlack for the TextColor.

The values in this array override the CellTextColor or CellBackGroundColor properties. These values will not override the ExtraDaysColor if the cell is an "extra" day.

Note: The BackGroundColor field has no effect if the current month is displaying a background image.

See also: CellTextColor , CellBackGroundColor , ExtraDaysColor