ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
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:
  • 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.
Example
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).
Minimum version required
  • Version 22
This page is also available for…
Comments
vamos mudar a cor do Titulo da Tabela

TABLE_descricao.COL_Descricao..TitleColor=LightBlue

// OU OR
//TABLE_descricao..TitleColor=LightBlue

//.Title Color é usado para:
//Modifique a cor do texto PARA o título da coluna A (OU TODAS as colunas) encontradas
// em um controle de tabela.

//.TitleColor is used to:
//modify the text color for the title of a column (or all columns) found
// in a Table control.

//.Title Color se utiliza para:
//Modifique el color del texto PARA el título de una columna (O TODAS las columnas)
// encontrada EN Un control de tabla.

// BLOG COM VIDEO E EXEMPLO

http://windevdesenvolvimento.blogspot.com.br/2017/07/aula-1201-windev-tabela-065-titlecolor.html

https://www.youtube.com/watch?v=-q4Mt_Z_sL0
De matos
08 Jul. 2017

Last update: 09/14/2022

Send a report | Local help