AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
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
Warning
From version 24, BrushColorTitle is kept for backward compatibility. This property has been replaced with TitleBackgroundColor.
The TitleBackgroundColor property gets and sets the background color of a column title in a Table or TreeView Table control.
Example
IF bVIPCustomer THEN
COL_Note.TitleBackgroundColor = LightRed
ELSE
COL_Note.TitleBackgroundColor = DefaultColor
END
Syntax

Getting the background color of a column title Hide the details

<Background color> = <Column used>.TitleBackgroundColor
<Background color>: Integer or constant
Background color of the column title. This color can correspond to:
<Column used>: Control name
Name of a column in a Table or TreeView Table control.

Changing the background color of a column title Hide the details

<Column used>.TitleBackgroundColor = <New background color>
<Column used>: Control name
Name of a column in a Table or TreeView Table control.
<New background color>: Integer or constant
New background color of the column title. This color can correspond to:
  • an RGB color (returned by RGB),
  • a preset color,
  • the DefaultColor constant. In this case, the background color corresponds to the background color common to all column titles (defined in the control style).
Remark: If the column title background is an image, the background is overridden with this new color.
Versión mínima requerida
  • Versión 22
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 30/01/2024

Señalar un error o enviar una sugerencia | Ayuda local