|
|
|
|
|
SchedulerBackgroundColor (Function) In french: PlanningCouleurFond Sets an color of Background to a time slot of an Scheduler control present in a window (for example, a time slot corresponding to lunch, a public holiday, etc.).. Caution: The modified background color is not the appointment one but the one of the specified time period. New in version SaaS
SchedulerBackgroundColor(PLN_MonPlanning, "20171012", "20171015", "Salle ABC", iLightRed)
SchedulerBackgroundColor(PLN_MonPlanning, "20171012", "20171015", "Salle verte", iLightRed)
SchedulerBackgroundColor(PLN_MonPlanning, "20171019", "20171020", "Salle verte", iLightGreen)
SchedulerBackgroundColor(PLN_MonPlanning, "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: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.
- The time periods must not overlap. Otherwise, the result may differ from the expected one.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|