RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TControl.FAnchorRules Field

Specifies the original coordinates of the anchor associated with the control.

Pascal
FAnchorRules: TPoint;
C++
TPoint FAnchorRules;

FAnchorRules is a property that gives the original anchor coordinates associated with the control.  

Based on the type of anchor used by the control, the coordinates of FAnchorRules have various meanings, given in the following tables.  

Meaning of FAnchorRules.X:

Type of anchor 
Meaning 
akRight and akLeft 
the original width of the control 
akRight  
the original left coordinate of the control 
none 
the original middle X coordinate of the control 

 

Meaning of FAnchorRules.Y:

Type of anchor 
Meaning 
akBottom and akTop 
the original height of the control 
akBottom 
the original top coordinate of the control 
none 
the original middle Y coordinate of the control 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!