|
|
|
|
|
- Anchoring a control
- Limitations
AnchorRateWidth (Property) In french: TauxAncrageLargeur
The AnchorRateWidth property is used to: - Find out the anchor rate when a control (or a table column) stretches on the horizontal axis.
- Modify the anchor rate when a control (or a table column) stretches on the horizontal 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 be resized. If it is set to 1000, the control will be resized normally. The horizontal anchor rate ( AnchorRateWidth property) is applied if the control is anchored horizontally( anchorWidth constant used with the Anchor property).
// The List Box control is enlarged by 50% of the new window size (500 for 1000). LIST_ListPersons.AnchorRateWidth = 500
Syntax
Getting the anchor rate when enlarging a control horizontally Hide the details
<Result> = <Control used>.AnchorRateWidth
<Result>: Integer Anchor rate included between 0 (unstretched control) and 1000 (standard anchor) <Control used>: Control name Name of control (or column) to use. This control can be a control: - of a window.
- of a report.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|