ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Organizer functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
OrganizerBackgroundColor (Function)
In french: AgendaCouleurFond
Defines a background color for a time slot in an Organizer control.
Warning: The background color changed is not that of the appointment, but that of the specified time slot.
New in version 2025
Linux This function is now available for WEBDEV websites in Windows and Linux.
Example
// les 12, 13 et 14 octobre 2011 seront avec un fond rouge
OrganizerBackgroundColor(AGD_MonAgenda, "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 field may 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 date format is YYYYMMDD, all the hours of the day are assigned..
<End of time period>: Character string or DateTime variable
End date and time of time period to color.
<Color>: entier
Background color of time period. This color can correspond to:
Note: If this parameter corresponds to -1 or to the constant Transparentthe 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
Component: wd300mdl.dll
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help