ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Window functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
WinChangeAlias (Function)
In french: FenChangeAlias
Modifies the alias of a window.
Reminder: Aliases can be used to identify a window opened multiple times (common case 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
Alias that must be modified.
<New alias>: Character string
New window alias.
Remarks
This function is equivalent to the Alias property.
{<Former alias>}..Alias = <New alias>
Component: wd300obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/20/2024

Send a report | Local help