PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
..TitleColor 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>..TitleColor
<Result>: Integer constant
Color currently used for the text of the title for the specified column. See preset color of WLanguage for more details.
<Element>: Character string (with or without quotes)
  • Name of column to use.
  • 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>..TitleColor = <New color>
<Element>: Character string (with or without quotes)
  • Name of column to use.
  • Name of Table control (to modify the color of the title for all the columns found 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 preset color of WLanguage variable.
  • 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