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).
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 : wd250obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment