PC SOFT

WINDEV的在线文档

  • Overview
  • Modifying the z-order position of a control
  • Modifying the z-order position of a control from the window editor or from the page editor
  • Modifying the z-order position of a control from the retort editor
  • To modify the z-order position of a control by programming
  • Note
  • Single z-order position
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系: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
All the controls found in a window (in a page or in a report) have a different z-order position. The z-order position of a control corresponds to the order of appearance of the control in relation to the plane of the window (or page or report).

For example:

Window displayed in the editor

Vertical section of the window

The z-order position is used to manage the superposition effects of several controls: if two controls are overlaid (two images for instance), the control displayed in the foreground will be the control with the highest z-order.

Modifying the z-order position of a control
The z-order position of a control can be modified:
  • from the window editor or from the page editor.
  • from the report editor.
  • by programming.

Modifying the z-order position of a control from the window editor or from the page editor

To modify the z-order position of a control from the window editor or from the page editor:
  1. Select the requested control.
  2. Select "Control" and choose the action to perform:On the "修改" pane, in the "对齐方式" group, choose the action to perform:
  • to position a control on the highest z-order position: select "Foreground".to position a control on the highest z-order position: expand "Move up" and select "Foreground".
  • to position a control on the lowest z-order position: select "Background".to position a control on the lowest z-order position: expand "Move down" and select "Background".
  • to increase the z-order position of a control: select "Move up".to increase the z-order position of a control: expand "Move up" and select "Move up".
  • to reduce the z-order position of a control: select "Move down".to reduce the z-order position of a control: expand "Move down" and select "Move down".
Note: The icon bar can also be used to modify the z-order position of a control:

Modifying the z-order position of a control from the retort editor

To modify the z-order position of a control from the report editor:
  1. Select the requested control.
  2. Select "Control .. Z-order" and choose the action to perform:On the "修改" pane, in the "对齐方式" group, choose the action to perform:
  • to position a control on the highest z-order position: select "Foreground".to position a control on the highest z-order position: expand "Move up" and select "Foreground".
  • to position a control on the lowest z-order position: select "Background".to position a control on the lowest z-order position: expand "Move down" and select "Background".
  • to increase the z-order position of a control: select "Move up".to increase the z-order position of a control: expand "Move up" and select "Move up".
  • to reduce the z-order position of a control: select "Move down".to reduce the z-order position of a control: expand "Move down" and select "Move down".
Note: To modify the z-order position of a control, you also have the ability to use the icon bar or the popup menu of the control (right mouse click).

Icon bar

To modify the z-order position of a control by programming

Use ..海拔 on the controls found in a window or in a report.

Note

Single z-order position

All the controls belonging to the same window (or to the same report) have a different z-order position.

WinDev Special cases:
  • Control in a window belonging to a tab, a supercontrol or a toolbar
    If the window contains a tab:
    • A z-order position is assigned to the tab. This z-order position is given in relation to the window.
    • The z-order position of the controls found in the tab is given in relation to the tab. All the controls found in the tab have a different z-order position.
      The supercontrols and the toolbars behave like the tabs.
  • Planes of a window
    If the window uses several planes, the z-order position of the controls is global to all the planes.
    See The planes for more details.