PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
  • Differences between Property Name and Property Alias
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 Property Alias does not have the same function in WEBDEV as in WINDEV and WINDEV Mobile.
WINDEVWINDEV Mobile The Property Alias allows you to know or modify:
  • the alias of a window. To change the alias of a window, it is also possible to use the WinChangeAlias function..
    Reminder: An alias is used to differentiate between the same window opened several times (frequent in an MDI application).
  • Versions 20 and later
    WINDEV the alias of a pane in a dynamic Tab control.
    New in version 20
    WINDEV the alias of a pane in a dynamic Tab control.
    WINDEV the alias of a pane in a dynamic Tab control.
WEBDEV - Server codeWEBDEV - Browser codePHP 0.
Indeed, WLanguage is more permissive than Javascript regarding the names of controls and pages: use of special characters, possibility to have two controls with the same name in the same page, ...
Therefore, the controls and the pages are renamed in the HTML pages. Furthermore, this name can be compressed.
Alias enables you to find out the name used in the HTML page.
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
WINDEVAndroidAndroid Widget Universal Windows 10 AppWindows MobileJava
// 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
WEBDEV - Server codeWEBDEV - Browser codePHPAjax
// Retrieve the value of a control passed as parameter
ValueEdit1 is string = PageParameter(EDT_Edit1.Alias)
Syntax
WINDEVAndroidAndroid Widget iPhone/iPadUniversal Windows 10 AppWindows MobileJava

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>: Window name
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.
WINDEVAndroidAndroid Widget iPhone/iPadUniversal Windows 10 AppWindows MobileJava

Modifying the alias of a window Hide the details

<Window>.Alias = <New alias>
<Window>: Window name
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
Versions 20 and later
WINDEV

Finding out 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 (with or without quotes)
Name of the current Tab control pane identified by the following syntax:
<Tab control name>[<Tab control name>]
New in version 20
WINDEV

Finding out 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 (with or without quotes)
Name of the current Tab control pane identified by the following syntax:
<Tab control name>[<Tab control name>]
WINDEV

Finding out 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 (with or without quotes)
Name of the current Tab control pane identified by the following syntax:
<Tab control name>[<Tab control name>]
Versions 20 and later
WINDEV

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

<Tab pane>.Alias = <New alias>
<Tab pane>: Character string (with or without quotes)
Name of the current Tab control pane identified by the following syntax:
<Tab control>[<Tab control>]
<New alias>: Character string
New alias of the dynamic tab pane.
New in version 20
WINDEV

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

<Tab pane>.Alias = <New alias>
<Tab pane>: Character string (with or without quotes)
Name of the current Tab control pane identified by the following syntax:
<Tab control>[<Tab control>]
<New alias>: Character string
New alias of the dynamic tab pane.
WINDEV

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

<Tab pane>.Alias = <New alias>
<Tab pane>: Character string (with or without quotes)
Name of the current Tab control pane identified by the following syntax:
<Tab control>[<Tab control>]
<New alias>: Character string
New alias of the dynamic tab pane.
WEBDEV - Server codeWEBDEV - Browser codePHPAjax

Finding out the internal HTML/Javascript name of an element Hide the details

<Current alias> = <Element name>.Alias
<Current alias>: Character string
Name of the element used in the HTML or Javascript code.
<Element name>: Character string (with or without quotes)
Name of control or page whose name is requested.
Remarks
WEBDEV - Server codePHPAjax

Differences between Property Name and Property Alias

0. To pass a field name as a parameter to a Javascript procedure, use the Property Alias.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment