PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
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
Warning
From version 24, BrushColorTitle is kept for backward compatibility. This property is replaced by TitleBackgroundColor.
The colorBackgroundTitle property allows you to know and modify the Color of Background of a column title of an Table control or Hierarchical table..
Example
IF bVIPCustomer THEN
COL_Note.colorBackgroundTitle = LightRed
ELSE
COL_Note.colorBackgroundTitle = ColorDefault
END
Syntax

Finding out the background color of a column title Hide the details

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

Modifying the background color of a column title Hide the details

<Control used>.TitleBackgroundColor = <New background color>
<Control used>: Control name
Name of a column found in a Table or TreeView Table control.
<New background color>: Integer or constant
New background color for the column title. This color can correspond to:
  • an RGB color (returned by RGB),
  • a preset color,
  • the ColorDefault constant. In this case, the background color corresponds to the background color common to all column titles (defined in the control style).
Remarks
  • If the background of column title is an image, the title background is overloaded with this color.
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment