Contents Topics Index  <<  >>

TWallCalendar.SetCellTextByDate method


Unit

WallCalendar

Applies to

TWallCalendar

Declaration

function SetCellTextByDate ( TargetDate : TDateTime ;
theText : string ) : boolean ;

Description

The SetCellTextByDate function allows you to set cell text for an individual cell by a specific date. The TargetDate parameter is the date you wish to set the cell text for. The theText parameter should be a string that contains the actual cell text.

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.

NOTE: This procedure will set the Text property of the applicable entry in the CellMessages array.

See also: SetCellMessage , GetCellMessageByDate , SetCellTextByDate, GetCellMessageByDate