Defines a background color for a time slot in an Organizer control.
Caution: The modified background color is not the appointment one but the one of the specified time period.
// October 12, 13 and 14, 2011 will be displayed on a red background
OrganizerBackgroundColor(ORG_MyOrganizer, "20111012", "20111015", iLightRed)
Syntax
OrganizerBackgroundColor(<Organizer control> , <Start of time period> , <End of time period> , <Color>)
<Organizer control>: Control name
Name of the Organizer control to be used. This control can correspond to: - an Organizer control in a window,
- an Organizer control in a report.
<Start of time period>: Character string or DateTime variable
Start date and time of time period to color. - If the date format is 00000000HHMMSS, all the days are affected.
- If the format of the date is YYYYMMDD, all the hours of the day are affected.
<End of time period>: Character string or DateTime variable
End date and time of time period to color.
<Color>: Integer
Background color of time period. This color can correspond to:Remark: If this parameter corresponds to -1 or to the Transparent constant, the default background color is restored.
Remarks
The granularity of time period using a specific background color is limited to the granularity of drawing.
Business / UI classification: UI Code