ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Drop-down menus / WINDEV and WINDEV Mobile
  • Overview
  • Groups of menu options
  • Overview
  • Associating a menu option with a group
  • Associating a MDI child window with a group
  • Finding out which MDI child windows are opened
  • Overview
  • Displaying the list of opened MDI windows
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
Overview
The MDI 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 window that opens another window is called parent window ; the windows opened by the parent window are called child windows. All the child windows opened by the same parent window are sibling windows.
For more details, see The different types of windows.
The operations performed on the menu options are the same, no matter whether the menu belongs to an MDI window or not. However, additional features are available in the MDI windows:
Remark: For more details about the menus and menu options, see:
Groups of menu options

Overview

WINDEV allows you to display some menu options in the MDI parent window only when a MDI child window is opened. Simply:
  • associate the menu options to display with a group.
  • associate the MDI child window with this same group.
Example: The groups of menu options are used to manage the features proposed to the users according to their access rights.
Remarks:
  • The same menu option can be displayed when opening several child windows. All you have to do is associate this option with several groups.
  • In order for an option to be displayed regardless of the opened child window, no group must be associated with this option.

Associating a menu option with a group

To associate a menu option with a group:
  1. Display the "UI" tab of the option description ("Option description" from the popup menu of the option).
  2. Uncheck "Visible". The option will be automatically visible when the MDI child window is opened. Indeed, the visibility of the option is automatically managed by WINDEV.
  3. Click the "Group" button. The list of existing groups is displayed.
  4. Create a new group if necessary.
  5. Associate the option with the group (check the corresponding box).

Associating a MDI child window with a group

To associate a MDI child window with a group:
  1. Open the MDI child window.
  2. Display the "Details" in the description of this window ("Description" from the popup menu).
  3. Type the name of group to associate in the "MDI group" option.
Finding out which MDI child windows are opened

Overview

WINDEV allows you to display the title of the opened MDI child windows in the main menu of the MDI parent window. The title of the current window is preceded by a checkmark. To display one of the opened windows, all you have to do is select its title.
For example:

Displaying the list of opened MDI windows

To display the list of opened MDI windows:
  1. Select one of the main menu options. The list of opened MDI child windows will be displayed after the last sub-option of this option.
  2. Display the "UI" tab in the description of this option ("Description" from the popup menu).
  3. Check "MDI menu".
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help