|
|
|
|
|
Anchor (Property) In french: Ancrage
The Anchor property is used to set the anchors of a control. You can: - Identify the anchors currently set on a control in a window or report.
- Modify the characteristics of the anchors set on a control in a window.
Reminder: The anchors of a control define the control behavior (size and location) when the window (or report) is resized. Several properties are used to define or find out the anchor rate of a control. These properties are as follows:
// Define the anchor characteristics // The control will be resized vertically and horizontally LIST_List1.Anchor = anchorWidth + anchorHeight
Syntax
Finding out the anchor of a control Hide the details
<Current anchor> = <Control used>.Anchor
<Current anchor>: Integer constant Characteristics of anchor currently set on the control. | | anchorBottom | The control moves to the bottom. | anchorHeight | The control stretches to the bottom. | anchorRight | The control moves to the right. | anchorTopLeft | No action. | anchorWidth | The control stretches to the right. |
anchorRight and anchorWidth can be associated with anchorBottom and anchorHeight. <Control used>: Control name Name of control used (window or report control). Remarks Anchor Reminder: use anchors to set the control's size and position when the window or report is resized.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|