PC SOFT

WINDEV的在线文档

  • Overview
  • Opening a window
  • Minimizing a window
  • Current Window
  • Closing a 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本地访问

Modal management of a window

Overview
The window that opens another window is called parent window ; the window opened by the parent window is called child window. In modal opening, a parent window can only have a single child window.

This opening mode does not allow you to manage the multi-windowing.

In modal opening:

  • the parent window and the child window cannot be in edit at the same time. The child window is the only window that can be in edit.
  • to perform an input in the parent window, the child window must be closed.
  • the parent window cannot be closed as long as the child window is opened.
  • once the child window is closed, the parent window becomes the current window.
  • if the child window is minimized, the entire project is minimized with the icon of the current window (or with the icon of the project if the window has no icon).

Opening a window
打开 opens the window in modal mode.

The last opened window is in edit. The other windows cannot be in edit as long as the last window remains opened.

The child window is always displayed on top of the parent window.

Minimizing a window
If the window is minimized, the entire project is minimized. The icon used is the icon of the current window (or the icon of the project if the window has no icon).

A window can be minimized:

A window can be restored:

Current Window
The current window is the window that has focus, which means the window whose title bar is active and whose code for focus gain has been run .

The current window is always the last window opened.

No input can be performed in a window other than the current window.

Closing a window
Windows are closed by the 关闭 function. This function used without specifying the name of the window to close will close the last window that was opened.