PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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 respect some constraints specific to the MDI applications. 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. See Non-modal management of a window for more details.
  • non-MDI:
    These windows have no specific constraint. These windows can be opened in modal mode or in non-modal mode.
    See Modal management of a window for more details
    See Non-modal management of a window for more details.
MDI window

Characteristics of the MDI parent windows

An MDI parent window must necessarily be the first window of 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.
Note: 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 the functions named Gauge 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:
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 required version
  • Version 9
Comments
Click [Add] to post a comment