PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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 24 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 24
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 25 and later
Mac Catalyst This function is now available for Android applications.
New in version 25
Mac Catalyst This function is now available for Android applications.
Mac Catalyst This function is now available for Android applications.
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 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
Component: wd270mdl.dll
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment