PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Anchoring a control
  • Limits
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
..AnchorRateBottom is used to:
  • Find out the anchor rate when a control moves on the vertical axis
  • Modify the anchor rate when a control moves on the vertical axis.
The anchor rate is used to define how the control is moved or resized in relation to the evolution of size of window (or report) to which it is anchored. The anchor rate corresponds to the percentage by which the control moves in relation to the window (or report). Therefore, if the anchor rate is set to 0, the control will not move ; if the anchor rate is set to 1000, the anchor of control will be normal.
The anchor rate at the bottom (..AnchorRateBottom) is applied if the control is anchored to the bottom (anchorBottom constant used with ..Anchor).
Versions 20 and later
Reports and Queries This property is now available for the report controls.
New in version 20
Reports and Queries This property is now available for the report controls.
Reports and Queries This property is now available for the report controls.
Example
// The List Box control will move by 50% of the new window size
LIST_ListPersons..AnchorRateBottom = 500
Syntax

Finding out the anchor rate when an anchored control moves to the bottom Hide the details

<Result> = <Control used>..AnchorRateBottom
<Result>: Integer
Anchor rate included between 0 (control not moved) and 1000 (normal anchor).
<Control used>: Control name
Name of control to use. This control can be a control:
  • of a window.
  • Versions 20 and later
    Reports and Queries of a report.
    New in version 20
    Reports and Queries of a report.
    Reports and Queries of a report.
Remarks

Anchoring a control

  • Versions 20 and later
    Reports and Queries In a report, ..Anchor is used to find out the control behavior (dimension and move) when resizing the report. This behavior was defined in the report editor.
    See Anchoring controls in a report for more details.
    New in version 20
    Reports and Queries In a report, ..Anchor is used to find out the control behavior (dimension and move) when resizing the report. This behavior was defined in the report editor.
    See Anchoring controls in a report for more details.
    Reports and Queries In a report, ..Anchor is used to find out the control behavior (dimension and move) when resizing the report. This behavior was defined in the report editor.
    See Anchoring controls in a report for more details.

Limits

Versions 20 and later
Reports and Queries ..AnchorRateBottom applies to all the report controls. In this case, you can only find out the anchor rate used.
New in version 20
Reports and Queries ..AnchorRateBottom applies to all the report controls. In this case, you can only find out the anchor rate used.
Reports and Queries ..AnchorRateBottom applies to all the report controls. In this case, you can only find out the anchor rate used.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment