AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Propiedades WLanguage / Propiedades varias
  • Case of clipped windows
  • Equivalence
  • Limitations
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
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.
Ejemplo
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"))
Sintaxis

Getting the title of an element Ocultar los detalles

<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 the column to which a table cell belongs, use the syntax:
<Table name>[Row number][Column number]

For example:
TABLE_Table1[1][2]

Changing the title of an element Ocultar los detalles

<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 the column to which a table cell belongs, use the 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.
Observaciones
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
WINDEV 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,
WINDEV 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.
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 10/05/2025

Señalar un error o enviar una sugerencia | Ayuda local