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
WinChangeAlias (Function)
In french: FenChangeAlias
Modifies the alias of a window.
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 function is now available for Android applications.
New in version 15
Android This function is now available for Android applications.
Android This function is now available for Android applications.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
New in version 18
Android Widget This function is now available in Android Widget mode.
Android Widget This function is now available in Android Widget mode.
Versions 19 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 19
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Example
// Opens a new MDI window.
// WINDEV chooses an alias.
sAliasName = MDIOpen(WIN_EditCustomer, "New customer", Value1, Value2)
// Use a custom alias
WinChangeAlias(sAliasName, "TEMP0001")
Syntax
<Result> = WinChangeAlias(<Former alias> , <New alias>)
<Result>: Boolean
  • True if the name change was performed,
  • False if the operation was not performed (a window with the same alias already exists).
<Former alias>: Character string (with quotes)
Alias that must be modified.
<New alias>: Character string (with quotes)
New alias for the window.
Remarks
This function is equivalent to ..Alias.
{<Former alias>}..Alias = <New alias>
Component : wd240obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment