|
|
|
|
|
- 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 control
- Background color of a Button control
- Background color of a Radio Button or Check Box control
- Background color of a Table control and its cells, columns or rows
- Limitations
BackgroundColor (Property) In french: CouleurFond
Warning
From version 24, BrushColor is kept for backward compatibility. This property is replaced by BackgroundColor.
The BackgroundColor property is used to get and change the background color of: - a control.
- a window.
- a page.
- a report block.
- text in a menu option.
Remark: The effects of the BackgroundColor property depend on the type of control (for more details, see "Remarks").
// The background color is modified according to the displayed value IF EDT_Total > 15000 THEN EDT_Total.BackgroundColor = 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 the element to be used: 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 used: control, window, page or report block. <New color>: Integer or constant New color for the specified element. Corresponds to one of the following options:
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|