Contents Topics Index  <<  >>

TWallCalendar.SetColorofDayByDate method


Unit

WallCalendar

Applies to

TWallCalendar

Declaration

function SetColorofDayByDate ( TargetDate : TDateTime ;
BGColor , TextColor : TColor ) : boolean ;

Description

The SetColorofDayByDate function allows you to set the background and text color of an individual cell by a specific date. The TargetDate parameter is the date you wish to set the colors for. The BGColor parameter is the color you wish to set the background color of the cell to, and the TextColor parameter is the color you want the text to be in the target cell.

If the specified TargetDate does not exist in the current calendar month and year, the function will return a false result, otherwise the result will be true.

See also: SetColorofDay