PC SOFT

WINDEV的在线文档

  • Overview
  • MDI window
  • Characteristics of the MDI parent windows
  • Characteristics of the MDI child windows
  • Non-MDI window (or free window)
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系: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本地访问

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 MDI打开.

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 进度条 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:
另见