ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Editors / Window editor and page editor
  • Overview
  • How to?
  • Defining an anchor on overlayable controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Overview
WEBDEV lets you define overlapping fields: overlapping fields can be displayed on top of other fields..
An overlayable control can be anchored in relation to its container or in relation to another page control.
How to?

Defining an anchor on overlayable controls

To define an anchor on overlayable controls:
  1. Select the overlayable control.
    Reminder: To define a stackable field, check the "The control can be overlaid" option in the "UI" tab of the control description window..
  2. Define the element anchoring:
    • in the "UI" tab of the element description window.
    • via the "Anchor" option in the context menu of the desired element.
  3. The following window appears:
    In this window, the options are as follows:
    • Position: In the "Move as next reference field" option, select the reference field of the overlay field. The overlayable control will move in the same way. This reference control can be:
      • The container associated with the control (a Cell control or the page containing the control for example).
      • Another control of same parent (a control associated with the cell for example).
      • Another page control (not overlayable).
      Then, if necessary, specify the position of the overlayable control after being moved.
    • Width anchoring: defines the width behavior of the field when the reference field is resized.. The overlaid control can:
      • keep the same width,
      • adapt to the content,
      • change along with the browser.
    • Height anchor: defines the height behavior of the field when the reference field is resized.. The overlaid control can:
      • keep the same height,
      • adapt to the content,
      • change along with the browser.
    • It is also possible to define the behavior of the control when the content is larger than the control itself. You can:
    • enlarge the control and push the other controls in the page,
    • truncate the content,
    • always enable a scrollbar,
    • display a scrollbar only when the content is larger than the control.
  4. Validate. The overlayable control is anchored.
Minimum version required
  • Version 18
Comments
Click [Add] to post a comment

Last update: 09/30/2024

Send a report | Local help