TAlign enumeration
Alignment options for a control, within its Parent control.
Declaration
TAlign = (alNone,alTop,alBottom,alLeft,alRight,alClient,alCustom)Description
TAlign is an enumeration type with values that indicate the
alignment for a control within its Parent. The enumeration includes the
following values and meanings:
- alNone
- fixed position and extent
- alTop
- stacked at top, full width
- alBottom
- stacked at bottom, full width
- alLeft
- stacked at left, full height
- alRight
- stacked at right, full height
- alClient
- filling entire remaining client area
- alCustom
- other alignment, in drag-dock: notebook
At most, one control can have alClient alignment for a given form or container.
The order of multiple controls with the same (stackable) alignment is determined by their Left and/or Top coordinate. The precedence of conflicting alignment requests (e.g. one at top, one at right) is resolved.
Values
alNone | Control has fixed size and position. |
alTop | Control stacked at top, full width. |
alBottom | Control stacked at bottom, full width. |
alLeft | Control stacked at left, full height. |
alRight | Control stacked at right, full height. |
alClient | Control fills remaining client area. |
alCustom | Control has special alignment. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
