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 to right (..AnchorRateRight) is applied if the control is anchored to right (anchorRight constant used for ..Anchor).

Versions 16 and later

This property is now available for Windows Phone applications.

New in version 16

This property is now available for Windows Phone applications.

This property is now available for Windows Phone applications.

Versions 15 and later

This property is now available for Android applications.

New in version 15

This property is now available for Android applications.

This property is now available for Android applications.

Versions 17 and later

This property is now available for iPhone/iPad applications.

New in version 17

This property is now available for iPhone/iPad applications.

This property is now available for iPhone/iPad applications.

Versions 18 and later

This property is now available in Windows Store apps mode.

New in version 18

This property is now available in Windows Store apps mode.

This property is now available in Windows Store apps mode.

Versions 19 and later

This property is now available for the report controls.

This property can only be used to find out the anchor rate of the report controls.

New in version 19

This property is now available for the report controls.

This property can only be used to find out the anchor rate of the report controls.

This property is now available for the report controls.

This property can only be used to find out the anchor rate of the report controls.

Versions 20 and later

This property is now available for the Table controls in the Android applications and in the iPhone/iPad applications.

New in version 20

This property is now available for the Table controls in the Android applications and in the iPhone/iPad applications.

This property is now available for the Table controls in the Android applications and in the iPhone/iPad applications.

Versions 21 and later

This property is now available in Universal Windows 10 App mode.

New in version 21

This property is now available in Universal Windows 10 App mode.

This property is now available in Universal Windows 10 App mode.

Example

// The List Box control will move by 50% of the new window sizeLIST_ListPersons..AnchorRateRight = 500

Syntax

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

<Result> = <Control name>..AnchorRateRight

<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:

in a window.

Versions 20 and later in a report.

New in version 20 in a report.

in a report.

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

<Control name>..AnchorRateRight = <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

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 control, the anchor is defined in relation to the tab.See Anchoring applied to window controls for more details.

Versions 19 and later 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 19 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.

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

..AnchorRateRight applies to all the window controls.

Versions 19 and later

..AnchorRateRight applies to all the report controls. In this case, you can only find out the anchor rate used.

New in version 19

..AnchorRateRight applies to all the report controls. In this case, you can only find out the anchor rate used.

..AnchorRateRight applies to all the report controls. In this case, you can only find out the anchor rate used.