PC SOFT

WINDEV的在线文档

  • Processes managed by default
  • Optional processes
  • Overview
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系: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本地访问

Processes managed by default
20版本和更高版本
WinDevLinux The internal windows are now available for the WinDev applications in Linux.
20新版本
WinDevLinux The internal windows are now available for the WinDev applications in Linux.
WinDevLinux The internal windows are now available for the WinDev applications in Linux.

Caution: Do not confuse "Internal Window control" and "Internal window": the "Internal window" control is a type of control while the "Internal window" is a type of window.

The "Internal Window" controls are associated with no process.

17版本和更高版本
WinDev and WinDev Mobile manage the following processes by default for the "internal window" controls:
ProcessRuntime condition

Selection by swipe
Internal window with browse by swipe.

Run once the new internal window was displayed and loaded.

See Changing the content of an internal window via a swipe for more details.

After loading the internal windowRun when the internal window is changed by 改变窗口源. This process is run after the "Global declarations" process and after the "Initialization" process of the new internal window.

This process is used to initialize the controls, to restore values in the internal window.

改变窗口源 must not be used in this process.

Before unloading the internal windowRun when the internal window is loaded by 改变窗口源. This process is run before the closing process of the initial internal window.

This process is used to save the values found in the internal window.

改变窗口源 must not be used in this process.

17新版本
WinDev and WinDev Mobile manage the following processes by default for the "internal window" controls:
ProcessRuntime condition

Selection by swipe
Internal window with browse by swipe.

Run once the new internal window was displayed and loaded.

See Changing the content of an internal window via a swipe for more details.

After loading the internal windowRun when the internal window is changed by 改变窗口源. This process is run after the "Global declarations" process and after the "Initialization" process of the new internal window.

This process is used to initialize the controls, to restore values in the internal window.

改变窗口源 must not be used in this process.

Before unloading the internal windowRun when the internal window is loaded by 改变窗口源. This process is run before the closing process of the initial internal window.

This process is used to save the values found in the internal window.

改变窗口源 must not be used in this process.

WinDev and WinDev Mobile manage the following processes by default for the "internal window" controls:
ProcessRuntime condition

Selection by swipe
Internal window with browse by swipe.

Run once the new internal window was displayed and loaded.

See Changing the content of an internal window via a swipe for more details.

After loading the internal windowRun when the internal window is changed by 改变窗口源. This process is run after the "Global declarations" process and after the "Initialization" process of the new internal window.

This process is used to initialize the controls, to restore values in the internal window.

改变窗口源 must not be used in this process.

Before unloading the internal windowRun when the internal window is loaded by 改变窗口源. This process is run before the closing process of the initial internal window.

This process is used to save the values found in the internal window.

改变窗口源 must not be used in this process.

WinDev and WinDev Mobile manage the following processes by default for the internal windows:
ProcessRuntime condition
Declaring the global variablesDeclaring the variables global to the window. This is the first code run when opening the window.
This code is run before the declaration code of the global variables of the host window (window in which the internal window is included).
You can, for example, call a procedure of the internal window from the declaration code of the global variables of the host window.
Initialization (before version 180062)

End of initialization (after version 180062)

End of initialization
Run when opening the window.
The processes are run in the following order:
  • Initializing the window controls
  • Initializing the window
  • Taking focus
ClosingRun when closing the window.
Note: Resuming the input in one of the window control in this code prevents the window from closing.
20版本和更高版本
WinDev Request to refresh the display
20新版本
WinDev Request to refresh the display
WinDev Request to refresh the display
Used to group the code for updating the window controls: content of controls, status (visible, grayed, ...), caption to update, ...

This process may expect parameters. All you have to do is declare a procedure in the process. For example:

// Request for refreshing the display
过程AskForRefreshRefreshType布尔型

This process is started upon request by the following functions:During the call to these functions, you have the ability to specify the value of the parameters expected by the process.
EntryRun when the cursor enters in the Internal Window control
ExitRun when changing control (when going from the Internal Window control to another control of the window).
Whenever modifiedRun whenever the content of the control is modified
Assign the ..值 propertyRun whenever the ..值 property is assigned to the internal window (direct assignment or assignment performed by Value). This code is used to retrieve the parameters passed to the internal window for example.
Retrieving the ..值 propertyRun whenever retrieving the ..值 property of the internal window. This code allows the internal window to return a value to the window that hosts the Internal Window control.

Optional processes

Overview

Several optional processes can be managed.

To manage an optional process, all you have to do is select it in the icon bar of the code window.

You have the ability to manage:

  • the rollover of the control by the mouse,
  • the left mouse button down, up, with a double click,
  • the right mouse button down, up, with double click,
  • the mouse wheel, ...
See the Optional processes for more details.