|
|
|
|
|
- Background color of an Edit control
- Background color of a List Box or Combo Box control
- Background color of the window
- Background color of a Static Text control
- Background color of a Button control
- Background color of a Radio Button or Check Box control
- Background color of a ListView control
- Background color of a TreeView control
- Background color of a Table control and its cells, columns or rows
- Background color of a cell
- Background color of a Tab control
- Background color of a Sidebar control
- Background color of a Scrollbar or Spin control
- Limitations
BackgroundColor (Property) In french: CouleurFond
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). New in version 2025
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:
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|