ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Various properties
  • Case of clipped windows
  • Equivalence
  • Limitations
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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.
In reports, this property is used to get and change the title of a Chart control.
Example
WINDEV
// Get the title of "WIN_InputForm" window
ResTitle = WIN_InputForm.Title
WINDEVJava
// Add an image to the title of a column in a Table control
TABLE_MyTable.COL_MyColumn.Title = gImage("MyImage.BMP") + "My title"
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
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
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 under Windows Vista (and higher): Windows using the "Aero system" look 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 Text control. The content of this control is ignored by the Title property.

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 QueriesiPhone/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

Last update: 09/30/2024

Send a report | Local help