TWallCalendar.GetCellTextByDate method
|
Unit
WallCalendar Applies to
TWallCalendar Declaration
function GetCellTextByDate ( TargetDate : TDateTime ;
var theText : string ) : boolean ;
Description
The GetCellTextByDate function allows you retrieve cell text by a
specific date from the CellMessages array. The TargetDate parameter is the
date you wish to get the cell text for. If the TargetDate exists in the
current calendar, the theText parameter will return a copy of the cell
text for that day, as it stands in the CellMessages array.
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 return the Text property of the applicable entry in
the CellMessages array.
See also: SetCellMessage , SetCellMessageByDate , SetCellTextByDate