PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | French EN

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 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 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 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 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 iPhone/iPad applications.
Example
AndroidAndroid Widget Universal Windows 10 AppWindows Mobile
// 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/iPadUniversal Windows 10 AppWindows Mobile

Finding out 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>: 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 only at runtime. The name of the alias is unknown when the code is compiled.
AndroidAndroid Widget iPhone/iPadUniversal Windows 10 AppWindows Mobile

Modifying the alias of a window Hide the details

<Window>..Alias = <New alias>
<Window>: 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 only at runtime. 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