Difference between revisions of "TControl.Anchors"

From OpenEUO
Jump to: navigation, search
 
Line 1: Line 1:
 
  '''RW Anchors : n'''
 
  '''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.
 
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.

Latest revision as of 23:38, 23 October 2010

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.