PC SOFT

WINDEV的在线文档

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

..层 is used to:
  • Find out the active plane of a window (or report) or the plane to which a control belongs.
  • Modify the active plane of a window (or report) or associate a control with another plane.
Notes:
  • A plane is a window or report "layer". Several planes cannot be viewed at the same time (in the window or report editor, or in your applications).
  • Each control of the window or report can:
    • belong to no plane. This control will be always displayed, regardless of the current plane.
    • belong to a plane. This control will be displayed when the corresponding plane is visible.
    • 19版本和更高版本
      belong to several planes. This control will be displayed when one of the planes associated with the control is enabled (which means visible).
      19新版本
      belong to several planes. This control will be displayed when one of the planes associated with the control is enabled (which means visible).
      belong to several planes. This control will be displayed when one of the planes associated with the control is enabled (which means visible).
  • 19版本和更高版本
    The planes are also available in the reports. The planes in the reports are mainly used to replace the substitution blocks: all you have to do is position the controls on several planes and enable the requested plane when printing.
    19新版本
    The planes are also available in the reports. The planes in the reports are mainly used to replace the substitution blocks: all you have to do is position the controls on several planes and enable the requested plane when printing.
    The planes are also available in the reports. The planes in the reports are mainly used to replace the substitution blocks: all you have to do is position the controls on several planes and enable the requested plane when printing.

18版本和更高版本
WinDevWindows Store apps This property is now available in Windows Store Apps mode.
18新版本
WinDevWindows Store apps This property is now available in Windows Store Apps mode.
WinDevWindows Store apps This property is now available in Windows Store Apps mode.
19版本和更高版本
WinDev This property is now available for the report and for the report controls.
19新版本
WinDev This property is now available for the report and for the report controls.
WinDev This property is now available for the report and for the report controls.
例子
// Modify the active plane
WIN_EditWindow..层=2

语法

Finding out the active plane of a window (or report) or the plane to which a control belongs 隐藏详细信息

<Plane Number> = <Object Name>..层
<Plane Number>: Integer or character string
  • Number of the active plane in the specified window.
  • 19版本和更高版本
    Number of the active plane in the specified report.
    19新版本
    Number of the active plane in the specified report.
    Number of the active plane in the specified report.
  • Number of the plane to which the specified control belongs.
  • 19版本和更高版本
    Numbers of the planes (separated by a comma) to which the control belongs.
    19新版本
    Numbers of the planes (separated by a comma) to which the control belongs.
    Numbers of the planes (separated by a comma) to which the control belongs.
<Object Name>: Character string (with or without quotes)
Name of the object to use:
  • Name of the control.
  • Name of the window.
  • 19版本和更高版本
    Name of the report.
    19新版本
    Name of the report.
    Name of the report.

Modifying the active plane of a window (or report) or associate a control with another plane 隐藏详细信息

<Object Name>..层 = <New Plane>
<Object Name>: Character string (with or without quotes)
Name of the object to use:
  • Name of the control.
  • Name of the window.
  • 19版本和更高版本
    Name of the report.
    19新版本
    Name of the report.
    Name of the report.
<New Plane>: Integer or character string
  • Plane number of the plane to activate. If this number is greater than the number of existing planes, only the controls not assigned to a plane will be displayed.
  • Number of the plane associated with the specified control. The control will no longer be displayed if this number does not correspond to the current plane.
  • 19版本和更高版本
    Numbers of the planes associated with the control. These numbers are supplied in character string format and they are separated by a comma.
    19新版本
    Numbers of the planes associated with the control. These numbers are supplied in character string format and they are separated by a comma.
    Numbers of the planes associated with the control. These numbers are supplied in character string format and they are separated by a comma.

注意

Plane

  • If a control is assigned to no plane (<None> checked in the description window), this control will always be displayed, regardless of the active plane in the window or report.
  • If a control is assigned to a plane, this control will be displayed only if it belongs to the active plane in the window or report.
  • 19版本和更高版本
    If a control is assigned to several planes, this control will be displayed as soon as one of these planes is enabled (which means visible).
    19新版本
    If a control is assigned to several planes, this control will be displayed as soon as one of these planes is enabled (which means visible).
    If a control is assigned to several planes, this control will be displayed as soon as one of these planes is enabled (which means visible).
  • When a window or report is opened, the active plane is plane #0.

WinDev

Plane and internal window

When ..层 is used directly on an internal window, this property applies to the controls found in the internal window. For example, to display the plane 2 of the internal window from the host window or directly in the internal window, use the following code line:

<Name of Internal Window>..层 = 2

When ..层 is used on the host window of an internal window, this property applies to all the controls found in the host window (including the internal window control if it is associated with a plane).

19版本和更高版本

Plane and internal report

When ..层 is used directly on the internal report, this property applies to the controls found in the internal report. For example, to display the plane 2 of the internal report from the host report or directly in the internal report, use the following code line:

<Name of Internal Report>..层 = 2

When ..层 is used on the host report of the internal report, this property applies to all the controls found in the host report (including the internal report control if it is associated with a plane).
19新版本

Plane and internal report

When ..层 is used directly on the internal report, this property applies to the controls found in the internal report. For example, to display the plane 2 of the internal report from the host report or directly in the internal report, use the following code line:

<Name of Internal Report>..层 = 2

When ..层 is used on the host report of the internal report, this property applies to all the controls found in the host report (including the internal report control if it is associated with a plane).

Plane and internal report

When ..层 is used directly on the internal report, this property applies to the controls found in the internal report. For example, to display the plane 2 of the internal report from the host report or directly in the internal report, use the following code line:

<Name of Internal Report>..层 = 2

When ..层 is used on the host report of the internal report, this property applies to all the controls found in the host report (including the internal report control if it is associated with a plane).

Limits

..层 cannot be used on:
  • an option in a Check Box or Radio Button control,
  • a row in a Table, List Box or Combo Box control,
  • a cell in a Table control,
  • a column in Table control,
  • a window menu,
  • a tab pane,
  • a group of controls,

19版本和更高版本
Windows Store apps ..层 is not available for the reports.
19新版本
Windows Store apps ..层 is not available for the reports.
Windows Store apps ..层 is not available for the reports.