TControl.Align property
Specifies the placement of the control on its Parent control.
Declaration
property Align: TAlign read FAlign write SetAlign default alNone;Description
Align is a
TAlign property which specifies how the
control is aligned to its parent control. The default value for the property
is
alNone.
- alNone
- The control is not aligned. It uses it Top, Left, Height, and Width to place the control in the Parent.
- alTop
- Aligns the control to the top of the parent control, and adjusts it Width to fill the Parent control.
- alBottom
- Aligns the control to the bottom of the Parent control, and adjusts its Width to fill the Parent control.
- alLeft
- Aligns the control to the left edge of the Parent control, and adjusts its Height to fill the Parent control.
- alRight
- Aligns the control to the right edge of the Parent control, and adjusts its Height to fill the Parent control.
- alClient
- Aligns the control to fill the unused Height and Width for the Parent control.
- alCustom
- Aligns the control by calling the OnAlignInsertBefore or OnAlignPosition event handlers in the Parent control.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
