PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Overview
  • Modifying the Z-order position of a control
  • Changing the Z-order of a control in the window, page or report editor
  • To modify the Z-order position of a control through programming
  • Note
  • Single Z-order position
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview
All 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
Window displayed in the editor
Vertical section of the window
Vertical section of the window
The Z-order position is used to manage the overlay 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:

Changing the Z-order of a control in the window, page or report editor

To change the Z-order of a control in the window, page or report editor:
  1. Select the desired control.
  2. On the "Modification" pane, in the "Depth and alignment" group, select an action:
    • to position a control on the highest Z-order position: expand "Bring forward" and select "Bring to front".
    • to position a control on the lowest Z-order position: expand "Send backward" and select "Send to back".
    • to increase the Z-order position of a control: expand "Bring forward" and select "Bring forward".
    • to reduce the Z-order position of a control: expand "Send backward" and select "Send backward".

To modify the Z-order position of a control through programming

Use ZOrder on controls in a window or report.
WEBDEV - Server codePHP This property is not available for the controls found in a page.
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 within a Tab control, supercontrol or toolbar
    If the window contains a Tab control:
    • A z-index is assigned to the Tab control. This Z-order is relative to the window
    • The Z-order of the controls within the Tab control is relative to the Tab control. All the controls associated with the Tab control have a different z-index
    Supercontrols and toolbars work in the same way as Tab controls.
  • Planes of a window
    If the window uses multiple planes, the z-index of controls is global to all planes.
    For more details, see The planes.
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment