PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
  • 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 16 and later
Universal Windows 10 App This property is now available for the Windows Phone applications.
New in version 16
Universal Windows 10 App This property is now available for the Windows Phone applications.
Universal Windows 10 App This property is now available for the Windows Phone applications.
Versions 15 and later
Android This property is now available for the Android applications.
New in version 15
Android This property is now available for the Android applications.
Android This property is now available for the Android applications.
Versions 17 and later
iPhone/iPad This property is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for the iPhone/iPad applications.
iPhone/iPad This property is now available for the iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This property is now available in Windows Store Apps mode.
New in version 18
Universal Windows 10 App This property is now available in Windows Store Apps mode.
Universal Windows 10 App This property is now available in Windows Store Apps mode.
Versions 20 and later
WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadWindows Mobile This property is now available for the report controls.
AndroidiPhone/iPad This property is now available for the Table controls in the Android applications and in the iPhone/iPad applications.
WEBDEV - Server code This property can only be used to find out the anchor rate of the report controls.
New in version 20
WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadWindows Mobile This property is now available for the report controls.
AndroidiPhone/iPad This property is now available for the Table controls in the Android applications and in the iPhone/iPad applications.
WEBDEV - Server code This property can only be used to find out the anchor rate of the report controls.
WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadWindows Mobile This property is now available for the report controls.
AndroidiPhone/iPad This property is now available for the Table controls in the Android applications and in the iPhone/iPad applications.
WEBDEV - Server code This property can only be used to find out the anchor rate of the report controls.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Example
// The list box 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 Name>..AnchorRateBottom
<Result>: Integer
Anchor rate included between 0 (control not moved) and 1000 (normal anchor).
<Control Name>: Character string (with or without quotes)
Name of control to use. This control can be a control:
  • of a window.
  • Versions 20 and later
    WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadWindows MobileUniversal Windows 10 App of a report.
    New in version 20
    WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadWindows MobileUniversal Windows 10 App of a report.
    WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadWindows MobileUniversal Windows 10 App of a report.
WINDEViPhone/iPadWindows MobileUniversal Windows 10 AppJava

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

<Control Name>..AnchorRateBottom = <Anchor Rate>
<Control Name>: Character string (with or without quotes)
Name of control to use.
<Anchor Rate>: Integer
New anchor rate included between 0 (control not moved) and 1000 (normal anchor).
Remarks

Anchoring a control

  • WINDEViPhone/iPadWindows MobileUniversal Windows 10 AppJava In a window, ..Anchor is used to define the control behavior (dimension and move) when resizing the window. If the control is associated with a tab, the anchor is defined in relation to the tab.
    See Anchoring applied to window controls for more details.
  • Versions 20 and later
    WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadWindows Mobile 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
    WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadWindows Mobile 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.
    WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadWindows Mobile 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

WINDEVAndroidiPhone/iPadWindows MobileUniversal Windows 10 AppJava ..AnchorRateBottom applies to all the window controls.
Versions 20 and later
WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadWindows MobileUniversal Windows 10 App ..AnchorRateBottom applies to all the report controls. In this case, you can only find out the anchor rate used.
New in version 20
WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadWindows MobileUniversal Windows 10 App ..AnchorRateBottom applies to all the report controls. In this case, you can only find out the anchor rate used.
WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadWindows MobileUniversal Windows 10 App ..AnchorRateBottom applies to all the report controls. In this case, you can only find out the anchor rate used.
Java ..AnchorRateBottom only applies to the following elements:
  • Button.
  • Static.
  • Edit control.
  • Image.
  • Check box.
  • Radio button.
  • List box.
  • Combo box.
  • TreeView.
  • Tab.
  • Table.
  • Supercontrol.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment