Vcl.Controls.TControl.FAnchorRules

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

FAnchorRules: TPoint;

C++

System::Types::TPoint FAnchorRules;

Properties

Type Visibility Source Unit Parent
field protected
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TControl

Description

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

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



See Also