RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Controls.TAnchorKind Enumeration

TAnchorKind and TAnchors specify how a control is anchored to its parent.

Pascal
TAnchorKind = (
  akLeft,
  akTop,
  akRight,
  akBottom
);
C++
enum TAnchorKind {
  akLeft,
  akTop,
  akRight,
  akBottom
};

Controls

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.  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!