|
|
|
|
|
Anchor (Property) In french: Ancrage
The Anchor property sets the anchors of a control. You can: - Identify the anchors currently set on a control in a window or report.
- Change 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. You can use multiple properties to set or get 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
Getting the control anchors Hide the details
<Current anchor> = <Control used>.Anchor
<Current anchor>: Integer constant Anchors 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. | The anchorRight and anchorWidth constants can be combined with anchorBottom and anchorHeight. <Control used>: Control name Name of the control used (in a window or report). Remarks Anchoring Reminder: use anchors to set the control's size and position when the window or report is resized.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|