PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • 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 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

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 desired control.
  2. Under the "Modification" section, in the "Depth and alignment" group, select the action to be performed:
    • to position a control on the highest z-order position: pull down "Advance" and select "Bring to Foreground".
    • to position a control on the lowest z-order position: pull down "Reverse" and select "Background".
    • to increase the z-order position of a control: pull down "Advance" and select "Advance".
    • to reduce the z-order position of a control: pull down "Reverse" and select "Reverse".

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 desired control.
  2. Under the "Modification" section, in the "Alignment" group, select the action to be performed:
    • 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: expand "Move down" and select "Background".
    • 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: expand "Move down" and select "Move down".

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

Use Altitude 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 of a window belonging to an Tab control, a supercontrol or antoolbar
    If the window contains a Tab control:
    • A z-order position is assigned to the Tab control. This z-order position is given in relation to the window.
    • The altitude of the fields in the Tab control is given in relation to the Tab control. All fields associated with Tab control have a different altitude.
    Superfields and toolbars behave in the same way as Tab fields.
  • Planes of a window
    If the window is using several planes, the z-order position 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