|
|
|
|
|
TitleColor (Property) In french: CouleurTitre
The TitleColor property is used to: - get the text color of a column title in a Table or TreeView Table control.
- set the text 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 text color of a column title in a Table or TreeView Table control Hide the details
<Result> = <Element used>.TitleColor
<Result>: Integer constant Color currently used for the text of the title for the specified column. 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 TreeView Table Control. In this case, only the first column of the TreeView Table control is taken into account.
Setting the text 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 color for the title text. 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 ColorDefault 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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|