PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
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
..TitleHeader is used to:
  • Find out the title and aspect of column title-header (Table or TreeView Table control).
  • Find out the number of column title-headers (Table or TreeView Table control).
  • Modify the title and aspect of column title-header (Table or TreeView Table control).
Caution: This property cannot be assigned or copied directly.
Example
// Modifies the title of a title-header on row 1
COL_DATE..TitleHeader[2]..Caption = "New caption"

// Modifies the title of a title-header on row 2
COL_DATE..TitleHeader[1]..Caption = "Sub-title"
// Modifies the font used for the title of a title-header on row 2
COL_DATE..TitleHeader[1]..Font..Bold = True

// Modifies the color of sub-title on row 1
COL_DATE..TitleHeader[1]..Color = LightRed
COL_DATE..TitleHeader[1]..FontBold = True
FOR I = 1 TO COL_DATE..TitleHeader..Count
COL_DATE..TitleHeader[1]..Color = LightRed
END
Syntax

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

<Result> = <Column name>..TitleHeader[<Row number>]..<Property>
<Result>: Expected type
Value of property.
<Column name>: Character string (with or without quotes)
Name of table column used.
<Row number>: Integer
Number of title-header row to use. The 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:
ColorUsed to find out the text color of title-header.
BackgroundColorUsed to find out the background color of title-header.
CaptionUsed to find out the text of title-header.
FontUsed to find out the font of title-header.
Note: The Font properties can be used directly.
FontStrikeOutUsed to find out whether the text of title-header is struck out.
FontCondensedUsed to find out whether the text of title-header is condensed.
FontExtendedUsed to find out whether the text of title-header is extended.
FontBoldUsed to find out whether the text of title-header is bold.
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.
FontUnderlinedUsed to find out whether the text of title-header is underlined.
FontSizeUsed to find out the size of title-header text.

Finding out the number of title-headers Hide the details

<Result> = <Column name>..TitleHeader..Count
<Result>: Integer
Number of title-headers.
<Column name>: Character string (with or without quotes)
Name of table column used.

Modifying a property of column title-header Hide the details

<Column name>..TitleHeader[<Row number>]..<Property> = <Value>
<Column name>: Character string (with or without quotes)
Name of table column used.
<Row number>: Integer
Number of title-header row to use. The 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:
ColorUsed to modify the text color of title-header.
BackgroundColorUsed to modify the background color of title-header.
CaptionUsed to modify the text of title-header.
Note: Modifying the caption of row 1 corresponds to ..Title applied to the column.
FontUsed to modify the font of title-header.
Note: The Font properties can be used directly.
FontStrikeOutUsed to strike out the text of title-header.
FontCondensedUsed to condense the text of title-header.
FontExtendedUsed to extend the text of title-header.
FontBoldUsed to write the text of title-header in bold.
FontItalicUsed to write the text of title-header in italic.
FontLargeUsed to enlarge text of title-header
FontNameUsed to modify the name of the font used for the text of title-header.
FontUnderlinedUsed to underline the text of title-herader.
FontSizeUsed to modify the size of title-header text.
<Value>: Expected type
Value of property.
Minimum required version
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment