TAnchors is the set of control anchor values.
TAnchors = set of TAnchorKind;
TAnchorKind TAnchors;
Anchors are used to ensure that a control maintains its current position relative to an edge of its parent, even if the parent is resized. When its parent is resized, the control holds its position relative to the edges to which it is anchored.
TAnchors is a set of TAnchorKind values. TAnchorKind can have one or more of the following values:
Value |
Meaning |
akTop |
The control's position is fixed with respect to the top edge of its parent. |
akLeft |
The control's position is fixed with respect to the left edge of its parent. |
akRight |
The control's position is fixed with respect to the right edge of its parent. |
akBottom |
The control's position is fixed with respect to the bottom edge of its parent. |
Set different TAnchorKind values on to influence how a control adjusts when its parent is resized.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|