ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
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.
Example
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).
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/20/2024

Send a report | Local help