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

TAlign

Alignment options for a control, within its Parent control.

Declaration

Source position: controls.pp line 167

type TAlign = (

  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.

);

Description

A control can be aligned as:

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.

The order of multiple controls of the same (stackable) alignment is determined by their Left or Top coordinate.

The precedence of conflicting alignment requests (e.g. one at top, one at right) is resolved

The latest version of this document can be found at lazarus-ccr.sourceforge.net.