|
|
|
|
TitleBackgroundColor (Property) In french: CouleurFondTitre
Warning
From version 24, BrushColorTitle is kept for backward compatibility. This property is replaced by TitleBackgroundColor.
The TitleBackgroundColor property is used to get and change the background color of a column title in a Table or TreeView Table control.
IF bVIPCustomer THEN COL_Note.TitleBackgroundColor = LightRed ELSE COL_Note.TitleBackgroundColor = DefaultColor END
Syntax
Finding out the background color of a column title Hide the details
<Background color> = <Column used>.TitleBackgroundColor
<Background color>: Integer or constant Background color of column title. This color can correspond to: <Column used>: Control name Name of a column found in a Table or TreeView Table control.
Modifying the background color of a column title Hide the details
<Column used>.TitleBackgroundColor = <New background color>
<Column used>: Control name Name of a column found in a Table or TreeView Table control. <New background color>: Integer or constant New background color for the column title. This color can correspond to:- an RGB color (returned by RGB),
- a preset color,
- the ColorDefault constant. In this case, the background color corresponds to the background color common to all column titles (defined in the control style).
Remarks If the background of column title is an image, the title background is overloaded with this color.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|