[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'ExtCtrls' (#lcl)

TCustomPanel.Align

Specifies the placement of the control inside its Parent.

Declaration

Source position: extctrls.pp line 1120

public property TCustomPanel.Align : TAlign
  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 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.

Version 3.2 Generated 2024-02-25 Home