PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
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.
Versions 17 and later
WINDEVReports and Queries This function can now be used to handle the Organizer controls found in a report.
New in version 17
WINDEVReports and Queries This function can now be used to handle the Organizer controls found in a report.
WINDEVReports and Queries This function can now be used to handle the Organizer controls found in a report.
Example
// 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 Organizer control to use. This control can correspond to:
  • an Organizer control in a window,
  • Versions 17 and later
    an Organizer control in a report.
    New in version 17
    an Organizer control in a report.
    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 corresponds to:
Note: 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.
Components
WINDEVReports and Queries wd230mdl.dll
Minimum required version
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment