PC SOFT

WINDEV的在线文档

  • 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
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

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.

See The different types of windows for more details.

The operations performed on the menu options are the same regardless whether the menu belongs to a MDI window or not. However, additional features are available in the MDI windows:

Note: 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. You must:
  • 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.

Notes:

  • 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 "GUI" 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. Enter the name of the 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 "GUI" tab in the description of this option ("Description" from the popup menu).
  3. Check "MDI menu".