ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
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 TitleHeader property is used to:
  • Get the title and aspect of a column title-header (Table or TreeView Table control).
  • Get the number of column title-headers (Table or TreeView Table control).
  • Get the title and aspect of a column title-header (Table or TreeView Table control).
Warning: This property cannot be assigned or copied directly..
Example
// Modifie le titre d'un sur-entête sur la ligne 1
COL_DATE.Surentête[2].Libellé = "Nouveau titre"

// Modifie le titre d'un sur-entête sur la ligne 2
COL_DATE.Surentête[1].Libellé = "sous-titre"
// Modifie la police du titre d'un sur entête sur la ligne 2
COL_DATE.Surentête[1].Font.Gras = True

// Modifie la couleur du sous-titre sur la ligne 1
COL_DATE.Surentête[1].Couleur = LightRed
COL_DATE.Surentête[1].PoliceGras = True
FOR I = 1 TO COL_DATE.Surentête.Occurrence 
	COL_DATE.Surentête[I].Couleur = LightRed
END
Syntax

Retrieving the value of a property for a column title-header Hide the details

<Result> = <Column>.TitleHeader[<Row number>].<Property>
<Result>: Expected type
Property value.
<Column>: Control name
Name of the Table control column used.
<Row number>: Integer
Number of the title-header row to use. Row 1 corresponds to the first row of column title starting from the bottom.
Row number
<Property>: WLanguage property
WLanguage property that will be used to handle the title-header. The available properties are:
BackgroundColorUsed to find out the background color of title-header.
CaptionUsed to find out the text of title-header.
ColorUsed to find out the text color of title-header.
FontUsed to find out the font of title-header.
Note: It is possible to use the properties of the Font type directly..
FontBoldUsed to find out whether the text of title-header is bold.
FontCondensedUsed to find out whether the text of title-header is condensed.
FontExtendedUsed to find out whether the text of title-header is extended.
FontItalicUsed to find out whether the text of title-header is italic.
FontLargeUsed to find out whether the text of title-header is large.
FontNameUsed to find out the name of the font used for the text of title-header.
FontSizeUsed to find out the size of title-header text.
FontStrikeOutUsed to find out whether the text of title-header is struck out.
FontUnderlinedUsed to find out whether the text of title-header is underlined.

Getting the number of title-headers Hide the details

<Result> = <Column>.TitleHeader.Count
<Result>: Integer
Number of title-headers.
<Column>: Control name
Name of the Table control column used.

Modifying a property of column title-header Hide the details

<Column>.TitleHeader[<Row number>].<Property> = <Value>
<Column>: Control name
Name of the Table control column used.
<Row number>: Integer
Number of the title-header row to use. Row 1 corresponds to the first row of column title starting from the bottom.
Row number
<Property>: WLanguage property
WLanguage property that will be used to handle the title-header. The available properties are:
BackgroundColorUsed to find out the background color of title-header.
CaptionUsed to find out the text of title-header.
ColorUsed to find out the text color of title-header.
FontUsed to find out the font of title-header.
Note: It is possible to use the properties of the Font type directly..
FontBoldUsed to find out whether the text of title-header is bold.
FontCondensedUsed to find out whether the text of title-header is condensed.
FontExtendedUsed to find out whether the text of title-header is extended.
FontItalicUsed to find out whether the text of title-header is italic.
FontLargeUsed to find out whether the text of title-header is large.
FontNameUsed to find out the name of the font used for the text of title-header.
FontSizeUsed to find out the size of title-header text.
FontStrikeOutUsed to find out whether the text of title-header is struck out.
FontUnderlinedUsed to find out whether the text of title-header is underlined.
<Value>: Expected type
Property value.
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help