- 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
Managing menu options in MDI windows
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. 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: 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: - Display the "UI" tab of the option description ("Option description" from the popup menu of the option).
- 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.
- Click the "Group" button. The list of existing groups is displayed.
- Create a new group if necessary.
- 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: - Open the MDI child window.
- Display the "Details" in the description of this window ("Description" from the popup menu).
- 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. Displaying the list of opened MDI windows To display the list of opened MDI windows: - 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.
- Display the "UI" tab in the description of this option ("Description" from the popup menu).
- Check "MDI menu".
|
|
|
|