PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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
Adds a title-header of columns into a Table control or into a TreeView Table control found in a window.
Title-header in a Table control
Note: It is also possible to ad a column title header from the Table or TreeView Table control description ("Details" tab, Edit the over-headers of columns").
Example
// Adds a title-header above the columns 2, 3 and 4
TABLE_Number.AddTitleHeader(2, 4, "Forecast")
// Adds a title-header above the columns 5, 6 and 7
TABLE_Number.AddTitleHeader(5, 7, "Performed")

// Adds a title-header above the menu columns
TABLE_Menu.AddTitleHeader(COL_Starter, COL_Dessert, "Menu")
Syntax

Adding a title-header on columns identified by their subscript Hide the details

<Table control>.AddTitleHeader(<Subscript of first column> , <Subscript of last column> , <Caption>)
<Table control>: Control name
Name of control to use. This control can correspond to:
  • a Table control.
  • a TreeView Table control.
<Subscript of first column>: Integer
Subscript of column above which the title-header will start.
<Subscript of last column>: Integer
Subscript of column above which the title-header will end. The subscript of this column must be greater than <Subscript of first column>.
<Caption>: Character string with quotes
Caption that must be displayed in the title-header.

Adding a title-header on columns identified by their name Hide the details

<Table control>.AddTitleHeader(<First column> , <Last column> , <Caption>)
<Table control>: Control name
Name of control to use. This control can correspond to:
  • a Table control.
  • a TreeView Table control.
<First column>: Control name
Name of the column above which the title-header must start.
<Last column>: Control name
Name of column above which the title-header must end.
<Caption>: Character string with quotes
Caption that must be displayed in the title-header.
Remarks
  • By programming, a single title-header level can be added. To add several levels, you must use the description window of the Table or TreeView Table control ("Details" tab, "Edit the over-headers of columns").
  • Versions 22 and later
    ..TitleHeader is used to:
    • Know and modify the title and the aspect of a column title header in a Table control.
    • Know the number of title headers of a column in a Table control.
    New in version 22
    ..TitleHeader is used to:
    • Know and modify the title and the aspect of a column title header in a Table control.
    • Know the number of title headers of a column in a Table control.
    ..TitleHeader is used to:
    • Know and modify the title and the aspect of a column title header in a Table control.
    • Know the number of title headers of a column in a Table control.
Component : wd240obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment