ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / MDI functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
MDIActive (Function)
In french: MDIActive
Identifies or displays an MDI child window in the foreground.
Remark: MDIActive can only be used:
  • for windows defined as "MDI child windows" in the window editor,
  • if an MDI parent window exists and if it is opened.
Example
// Identify the MDI child window displayed in the foreground
ResForegroundWindow = MDIActive()
Syntax

Identifying the MDI child window displayed in the foreground Hide the details

<Result> = MDIActive()
<Result>: Character string
  • Alias of the MDI child window displayed in the foreground,
  • Empty string ("") if no MDI child window is active.

Positioning an MDI child window in the foreground Hide the details

<Result> = MDIActive(<Window Alias>)
<Result>: Character string
Alias of the MDI child window displayed in the foreground (after modification).
<Window Alias>: Character string
Alias of the MDI child window that must be positioned in the foreground. A WLanguage error occurs if this parameter does not correspond to a valid window alias.
Component: wd290obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help