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
Caution: The operating mode of ..Alias differs according to the product used: the operating mode in WEBDEV differs from the operating mode in WINDEV and WINDEV Mobile.
WINDEV Mobile ..Alias is used to find out and modify:
  • the alias of a window. To modify the alias of a window, you also have the ability to use WinChangeAlias.
    Reminder: An alias is used to differentiate between the same window opened several times (frequent in an MDI application).
Versions 15 and later
Android This property is now available for the Android applications.
New in version 15
Android This property is now available for the Android applications.
Android This property is now available for the Android applications.
Versions 18 and later
Universal Windows 10 App This property is now available in Windows Store Apps mode.
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.
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.
Android Widget This property is now available in Android Widget mode.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
iPhone/iPad This property is now available for the iPhone/iPad applications.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
iPhone/iPad This property is now available for the iPhone/iPad applications.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
iPhone/iPad This property is now available for the iPhone/iPad applications.
Example
AndroidAndroid Widget Windows MobileUniversal Windows 10 App
// Open a new child window
OpenChild(WIN_Child, sFileName)
{sFileName}..X = 10
// {sFileName} = alias of the window
// -- Opening code of WIN_Child
PROCEDURE WIN_Child(sFileName)
MySelf..Alias = sFileName
// Define the alias
// Changes the title of the window that was just opened
{sFileName}..Title = "File = " + {sFileName}..Alias
Syntax
AndroidAndroid Widget iPhone/iPadWindows MobileUniversal Windows 10 App

Finding out the alias of a window Hide the details

<Current alias> = <Window name>..Alias
<Current alias>: Character string
  • Alias of the window,
  • Empty string ("") if the specified window has no alias.
<Window name>: Character string (with or without quotes)
Name of window used. This parameter can be equal to:
  • MySelf. For example, if the name of the alias of the current window is sought.
  • an indirection on the alias of the window. Indeed, the alias name will be known at run time only. The name of the alias is unknown when the code is compiled.
AndroidAndroid Widget iPhone/iPadWindows MobileUniversal Windows 10 App

Modifying the alias of a window Hide the details

<Window name>..Alias = <New alias>
<Window name>: Character string (with or without quotes)
Name of window used. This parameter can be equal to:
  • MySelf. For example, if the name of the alias of the current window is sought.
  • an indirection on the alias of the window. Indeed, the alias name will be known at run time only. The name of the alias is unknown when the code is compiled.
<New alias>: Character string
New alias for the window.
Syntax
Remarks
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment