TWallCalendar.GetCellMessageByDate method
|
Unit
WallCalendar Applies to
TWallCalendar Declaration
function GetCellMessageByDate ( TargetDate : TDateTime ;
var theMessage : TStringList ) : boolean ;
Description
The GetCellMessageByDate function allows you retrieve cell messages by a
specific date from the CellMessages array. The TargetDate parameter is the
date you wish to get the cell message for. If the TargetDate exists in the
current calendar, the theMessage parameter will return a copy of the cell
message 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 copy the contents of the applicable CellMessages
array location into the theMessage parameter.
See also: SetCellMessage , SetCellMessageByDate