PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Case of clipped windows
  • Equivalence
  • Limitations
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The Title property is used to:
  • Get the title of a Table control column, a Chart control, a window or a page.
  • Change the title of a Table control column, a Chart control, a window or a page.
Versions 17 and later
In reports, this property is used to get and change the title of a Chart control.
New in version 17
In reports, this property is used to get and change the title of a Chart control.
In reports, this property is used to get and change the title of a Chart control.
Versions 16 and later
PHP This property is now available in PHP for pages.
New in version 16
PHP This property is now available in PHP for pages.
PHP This property is now available in PHP for pages.
Versions 15 and later
Android This property is now available for Android applications.
New in version 15
Android This property is now available for Android applications.
Android This property is now available for Android applications.
Versions 17 and later
iPhone/iPad This property is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for iPhone/iPad applications.
iPhone/iPad This property is now available for iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This property is now available in Windows Store apps mode.
iPhone/iPad This property is now available for Chart controls in reports in iPhone/iPad applications.
Android Widget This property is now available in Android Widget mode.
New in version 18
Universal Windows 10 App This property is now available in Windows Store apps mode.
iPhone/iPad This property is now available for Chart controls in reports in iPhone/iPad applications.
Android Widget This property is now available in Android Widget mode.
Universal Windows 10 App This property is now available in Windows Store apps mode.
iPhone/iPad This property is now available for Chart controls in reports in iPhone/iPad applications.
Android Widget This property is now available in Android Widget mode.
Versions 20 and later
AndroidiPhone/iPad This property is now available for table columns in Android and iPhone/iPad applications.
New in version 20
AndroidiPhone/iPad This property is now available for table columns in Android and iPhone/iPad applications.
AndroidiPhone/iPad This property is now available for table columns in Android and iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Example
WINDEV
// Get the title of "WIN_InputForm" window
ResTitle = WIN_InputForm.Title
WINDEVJava
// Ajout d'une image dans le titre d'une colonne d'un champ Table
TABLE_MaTable.COL_MaColonne.Titre = gImage("MonImage.BMP") + "Mon titre"
WINDEV
// Display the date on the right of window title
MyWindow.Title = EOT + gAlignment("D", DateToString(Today(), ...
"DDDD DD MMMM YYYY"))
Syntax

Getting the title of an element Hide the details

<Result> = <Element name>.Title
<Result>: Character string
  • Title of specified window or page.
  • Title of specified column.
  • Title of column to which the specified table cell belongs.
  • Title of specified Chart control.
<Element name>: Character string (with or without quotes)
Name of element (column, chart, table cell, window or page) to use.
A table cell has no name. To retrieve the title of column to which a table cell belongs, use the following syntax:
<Table name>[Row number][Column number]

For example:
TABLE_Table1[1][2]

Changing the title of an element Hide the details

<Element name>.Title = <New title>
<Element name>: Character string (with or without quotes)
Name of element (column, chart, table cell, window or page) to use.
A table cell has no name. To retrieve the title of column to which a table cell belongs, use the following syntax:
<Table name>[Row number][Column number]

For example:
TABLE_Table1[1][2]
<New title>: Any type
  • New title for the specified window or page. The graphic functions can be used in this parameter.
    Special case in Windows Vista (and later): Windows that use the "Aero system" style cannot have a graphic title: the graphic part is ignored. If "Aero" is not enabled, the graphic title will be displayed as usual.
  • New title for the column.
  • New title for the Chart control.
Remarks
WINDEV

Case of clipped windows

The Title property can also be used to change the title of clipped windows. However, this title is not displayed in the window.
If a clipped skin template was used, the title of the window is displayed in a Static control. The content of this control is ignored by Title.

Equivalence

The Title, Value and Caption properties are equivalent.
To get the window title, use one of the following syntaxes:
ResTitle = <Window name>.Title

ResTitle = <Window name>.Value

ResTitle = <Window name>.Caption

ResTitle = <Window name>
To get the column title, use one of the following syntaxes:
ResTitle = <Column name>.Title

ResTitle = <Column name>.Caption
WINDEVWINDEV Mobile To get the title of the column that contains a cell in a Table control, use either of the following syntaxes:
ResTitle = <Table control name>[<Row number>][<Column number>].Title

ResTitle = <Table control name>[<Row number>][<Column number>].Caption

Limitations

The Title property applies only to:
  • windows and pages,
  • columns in Table and TreeView Table controls,
  • cells in Table and TreeView Table controls,
  • Chart controls,
  • WEBDEV - Server code page menu.
WINDEVWEBDEV - Server codeReports and QueriesUniversal Windows 10 AppiPhone/iPad In a report, the Title property applies only to Chart controls.
Java In Java, the Title property applies only to the following elements:
  • Window.
  • Column of a Table control.
Android Widget The Title property applies only to windows.
PHP In PHP, the Title property applies only to pages.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment