|
|
|
|
|
TitleColor (Property) In french: CouleurTitre
The TitleColor property is used to: - get the color of a column title in a Table or TreeView Table control.
- set the color of the title of one or all columns in a Table or TreeView Table control.
IF bVIPCustomer THEN COL_Note.TitleColor = LightRed ELSE COL_Note.TitleColor = DefaultColor END
Syntax
Getting the color of a column title in a Table or TreeView Table control Hide the details
<Result> = <Element used>.TitleColor
<Result>: Integer constant Current color of the specified column title. For more details, see WLanguage preset color. <Element used>: Control name - Name of the column to be used.
- Table control name. In this case, only the first column of the Table control is taken into account.
- Name of the TreeView Table control. In this case, only the first column of the TreeView Table control is taken into account.
Setting the color of the title of one or all columns in a Table or TreeView Table control Hide the details
<Element used>.TitleColor = <New color>
<Element used>: Control name - Name of the column to be used.
- Name of the Table control (to set the color of the title of all the columns).
- Name of the TreeView Table control (to set the color of the title of all the columns).
<New color>: Integer or Integer constant New title color. This parameter can correspond to one of the following options: - an RGB color (returned by RGB),
- an HSL color (returned by HSL),
- a WLanguage preset color.
- the DefaultColor constant. In this case, the column title will use the color common to all the columns (which means the color defined in the style of the Table control).
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|