TControl.Anchors

From OpenEUO
Revision as of 23:38, 23 October 2010 by 46.127.27.108 (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
RW Anchors : n

Specifies how the control is anchored to its parent.

Use Anchors 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. If a control should maintain contact with three edges of its parent, use the Align property instead. Unlike Anchors, Align allows controls to adjust to changes in the size of other aligned sibling controls as well as changes to the parent’s size.