[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 200

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

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.


Version 3.2 Generated 2024-02-25 Home