ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Various properties
  • Limitations
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Warning
From version 24, BrushColor is kept for backward compatibility. This property has been replaced with BackgroundColor.
The BackgroundColor property gets and sets the background color of:
  • a control.
  • a window.
  • a page.
  • a report block.
  • text in a menu option.
Note: Depending on the type of field, the effects of the BackgroundColor property may vary (see the "Notes" paragraph for more details).
Example
// Selon la valeur affichée, la couleur de fond est modifiée
IF SAI_Total > 15000 THEN
	SAI_Total.CouleurFond = LightRed
END
Syntax

Determining the background color Hide the details

<Background color> = <Element used>.BackgroundColor
<Background color>: Integer or constant
Color of the specified element. Corresponds to one of the following options:
<Element used>: Type of element
Name of element to be manipulated: control, window, page or report block.

Changing the background color Hide the details

<Element used>.BackgroundColor = <New color>
<Element used>: Type of element
Name of the element to be manipulated: control, window, page or report block.
<New color>: Integer or constant
New color of the specified element. Corresponds to one of the following options:
Remarks

Limitations

Reports and Queries Limitations on report controls
The BackgroundColor property has no effect on:
  • reports (as a whole).
  • Internal Report controls.
  • Signature controls.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/20/2024

Send a report | Local help