PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The TitleColor property is used to:
  • find out the text color for the title of a column found in a Table control.
  • modify the text color for the title of a column (or all columns) found in a Table control.
Example
IF bVIPCustomer THEN
COL_Note.TitleColor = LightRed
ELSE
COL_Note.TitleColor = DefaultColor
END
Syntax

Finding out the text color for the title of a column found in a 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.
  • Name of Table Control. In this case, only the first column of the Table control is taken into account.

Modifying the text color for the title of a column (or all columns) found in a 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 modify the color of the title for all the columns in the Table control).
<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 variable of type 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).
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment