ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Developing an application or website / Controls, windows and pages / Window
  • Overview
  • MDI window
  • Characteristics of the MDI parent windows
  • Characteristics of the MDI child windows
  • Non-MDI window (or free window)
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
The different types of windows
Overview
The following types of windows can be created in a WINDEV application:
  • MDI:
    These windows must comply with certain constraints specific to MDI (Multiple Document Interface) applications.. In an MDI application, the application's main window contains all the application's windows..

    Three types of windows are available: MDI parent window, MDI child window and MDI sibling window.
    The child windows and the sibling windows are opened in non-modal mode. For more details, see Non-modal management of a window.
  • non-MDI:
    These windows have no specific constraint. These windows can be opened in modal mode or in non-modal mode.
    For more details, see Modal windows
    For more details, see Non-modal management of a window.
MDI window

Characteristics of the MDI parent windows

An MDI (Multiple Document Interface) parent window is necessarily the first window in a WINDEV project.. This window is used to display all the application windows.
An MDI parent window has the following characteristics (not modifiable):
  • modifiable borders
  • minimize button, maximize button, system menu
  • title bar
  • icon bar
  • ability to include a drop-down menu and toolbars.
In an MDI parent window, only the controls found in the "icon bar" area can be edited. Outside this area, no control can be in edit, no mouse click is active.

Characteristics of the MDI child windows

All the MDI child windows have the same characteristics (that cannot be modified):
  • modifiable borders,
  • a minimize button, maximize button, system menu,
  • title bar,
  • no menu.
The MDI child windows are necessarily opened in the parent window. The display position of an MDI child window is always relative to its parent window.
Note: No clipped skin template can be used on the MDI windows.
Programming
The MDI child windows must be opened by MDIOpen.
Remark: the test of a MDI child window cannot be directly run from the editor. Indeed, it must necessarily be opened from the parent window.
Displaying messages or progress bars with ProgressBar and Message.
  • If the MDI child window includes a status bar, the message or the progress bar is displayed in the MDI child window.
  • If the MDI child window includes no status bar, the message or the progress bar is displayed in the bar of the MDI parent window.
Non-MDI window (or free window)
For the non-MDI windows, no constraint about the size or the window type is linked to the opening mode of a window. Therefore, regardless of their opening mode, the windows can include:
  • a title bar or not,
  • a minimize button or not,
  • a maximize button or not,
  • a button for the system menu or not,
  • a simple, thick or double window border,
  • a menu or not,
  • all types of controls.
The free windows can be opened:
Remark: windows can have rounded corners in Windows 11. The system applies this effect to windows with double or thick frames, and without clipping. Windows with a simple border cannot have rounded corners.
Related Examples:
WD Multi-Windowing Training (WINDEV): WD Multi-Windowing
[ + ] This example presents the basic concepts for managing the multi-windowing and the dynamic tabs with WINDEV.

This example includes a simple interface for managing the customer forms:
- multi-windowing with MDI interface,
- multi tabs with a dynamic tab control.
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 11/28/2023

Send a report | Local help