PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Limits
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
Warning
From version 24, BrushColor is kept for backward compatibility. This property is replaced by BackgroundColor.
..BackgroundColor is used to find out and modify the background color of:
  • a control.
  • a window.
  • a page.
  • a report block.
  • Versions 16 and later
    a caption of a menu option.
    New in version 16
    a caption of a menu option.
    a caption of a menu option.
Remark: The effects of ..BackgroundColor depend on the type of control (see "Remarks" for more details).
Example
// The background color is modified according to the displayed value
IF EDT_Total > 15000 THEN
EDT_Total..BackgroundColor = LightRed
END
Syntax

Finding out the background color Hide the details

<Background color> = <Element name>..BackgroundColor
<Background color>: Integer or constant
Color of specified element. Corresponds to one of the following options:
<Element name>: Character string (with or without quotes)
Name of element to use: control, window, page or report block.

Modifying the background color Hide the details

<Element name>..BackgroundColor = <New color>
<Element name>: Character string (with or without quotes)
Name of element to use: control, window, page or report block.
<New color>: Integer or constant
New color for the specified element. Corresponds to one of the following options:
Remarks

Limits

Reports and Queries Limits for the report controls
..BackgroundColor has no effect on:
  • the reports (as a whole).
  • the Internal Report controls.
  • Versions 21 and later
    the Signature controls.
    New in version 21
    the Signature controls.
    the Signature controls.
  • the Chart controls.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment