|
|
|
|
|
TitleHeader (Property) In french: Surentête
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).
Caution: This property cannot be assigned or copied directly.
COL_DATE.TitleHeader[2].Caption = "New caption"
COL_DATE.TitleHeader[1].Caption = "Sub-title"
COL_DATE.TitleHeader[1].Font.Bold = True
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>.TitleHeader[<Row number>].<Property>
<Result>: Expected type Value of property. <Column>: Control name Name of table column used. <Row number>: Integer Number of title-header row to use. Row 1 corresponds to the first row of column title starting from the bottom. <Property>: WLanguage property WLanguage property that will be used to handle the title-header. The available properties are:
| | BackgroundColor | Used to find out the background color of title-header. | Caption | Used to find out the text of title-header. | Color | Used to find out the text color of title-header. | Font | Used to find out the font of title-header. Remark: The Font properties can be used directly. | FontBold | Used to find out whether the text of title-header is bold. | FontCondensed | Used to find out whether the text of title-header is condensed. | FontExtended | Used to find out whether the text of title-header is extended. | FontItalic | Used to find out whether the text of title-header is italic. | FontLarge | Used to find out whether the text of title-header is large. | FontName | Used to find out the name of the font used for the text of title-header. | FontSize | Used to find out the size of title-header text. | FontStrikeOut | Used to find out whether the text of title-header is struck out. | FontUnderlined | Used 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 table 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. <Property>: WLanguage property WLanguage property that will be used to handle the title-header. The available properties are:
| | BackgroundColor | Used to find out the background color of title-header. | Caption | Used to find out the text of title-header. | Color | Used to find out the text color of title-header. | Font | Used to find out the font of title-header. Remark: The Font properties can be used directly. | FontBold | Used to find out whether the text of title-header is bold. | FontCondensed | Used to find out whether the text of title-header is condensed. | FontExtended | Used to find out whether the text of title-header is extended. | FontItalic | Used to find out whether the text of title-header is italic. | FontLarge | Used to find out whether the text of title-header is large. | FontName | Used to find out the name of the font used for the text of title-header. | FontSize | Used to find out the size of title-header text. | FontStrikeOut | Used to find out whether the text of title-header is struck out. | FontUnderlined | Used to find out whether the text of title-header is underlined. |
<Value>: Expected type Property value.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|