ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
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
Caution: In WEBDEV, the Alias property works in a different way than in WINDEV and WINDEV Mobile.
WINDEV The Alias property is used to get or change:
  • the alias of a window. To change the alias of a window, you can also use WinChangeAlias.
    Reminder: Aliases can be used to identify a window opened multiple times (common case in an MDI application).
  • WINDEV the alias of a pane in a Dynamic Tab control.
Example
WINDEVUniversal Windows 10 AppJava
// Ouverture d'une nouvelle fenêtre fille
OpenChild(FEN_Fille, sNomFichier)
{sNomFichier}..X = 10
// {sNomFichier} = alias de la fenêtre
// -- Code d'ouverture de FEN_Fille
PROCEDURE FEN_Fille(sNomFic)
MySelf.Alias = sNomFic
// Définition de l'alias
// Change le titre de la fenêtre que l'on vient d'ouvrir
{sNomFic}..Title = "Fichier = " + {sNomFic}..Alias
Syntax
WINDEVUniversal Windows 10 AppJava

Getting the alias of a window Hide the details

<Current alias> = <Window>.Alias
<Current alias>: Character string
  • Alias of the window,
  • Empty string ("") if the specified window has no alias.
<Window>: Window name
Name of the window used. This parameter can be equal to:
  • MySelf. If you want to get the alias of the current window, for example.
  • an indirection to the alias of the window. The alias will be known at runtime. The name of the alias is unknown when the code is compiled.
WINDEVUniversal Windows 10 AppJava

Changing the alias of a window Hide the details

<Window>.Alias = <New alias>
<Window>: Window name
Name of the window used. This parameter can be equal to:
  • MySelf. If you want to get the alias of the current window, for example.
  • an indirection to the alias of the window. The alias will be known at runtime. The name of the alias is unknown when the code is compiled.
<New alias>: Character string
New window alias.
WINDEV

Getting the alias of the current Dynamic Tab control pane Hide the details

<Current alias> = <Tab pane name>.Alias
<Current alias>: Character string
Alias of the dynamic tab pane.
<Tab pane name>: Character string
Name of the current Tab control pane identified by the following syntax:
<Champ Onglet>[<Champ Onglet>]
WINDEV

Changing the alias of the current Dynamic Tab control pane Hide the details

<Tab pane>.Alias = <New alias>
<Tab pane>: Character string
Name of the current Tab control pane identified by the following syntax:
<Champ Onglet>[<Champ Onglet>]
<New alias>: Character string
New alias of the dynamic tab pane.
Remarks
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/08/2024

Send a report | Local help