|
|
|
|
|
SchedulerBackgroundColor (Function) In french: PlanningCouleurFond Sets a background color for a time period in a Scheduler control (time period corresponding to lunch time, a public holiday, etc.). Note: This function does not change the background color of the appointment, but that of the specified time range. New in version 2025
SchedulerBackgroundColor(SCH_MySchedule, "20171012", "20171015", "Room ABC", iLightRed)
SchedulerBackgroundColor(SCH_MySchedule, "20171012", "20171015", "Green room", iLightRed)
SchedulerBackgroundColor(SCH_MySchedule, "20171019", "20171020", "Green Room", iLightGreen)
SchedulerBackgroundColor(SCH_MySchedule, "20171017", "20171019", "", iDarkBlue)
Syntax
SchedulerBackgroundColor(<Scheduler control> , <Start of time period> , <End of time period> , <Resource> , <Color>)
<Scheduler control>: Control name Name of the Scheduler control used, found in a window. <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 date format 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. <Resource>: Character string - Name of resource affected by the change of background color for the time period.
- Empty string ("") to modify the background color of time period for all resources.
<Color>: Integer or Integer constant Background color of time period. This color can correspond to:Note: If this parameter is set to -1 or to the transparent constant, the background color is set to default. Remarks - The granularity of time period using a specific background color is limited to the granularity of drawing.
- The time periods must not overlap. Otherwise, the result may differ from the expected one.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|