|
|
|
|
|
- Overview
- MDI window
- Characteristics of the MDI parent windows
- Characteristics of the MDI child windows
- Non-MDI window (or free window)
The different types of windows
The following types of windows can be created in a WINDEV application: - MDI:
These windows must respect 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 window types are available: MDI mother, MDI daughter or MDI sister 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.
Characteristics of the MDI parent windows An MDI (Multiple Document Interface) parent window is always 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: On MDI windows, it's not possible to use a clipped skin template. ProgrammingThe MDI child windows must be opened by MDIOpen. Remark: an MDI child window cannot be directly tested 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: Note: Windows 11 windows can have rounded frames.. 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:
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|