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

TControlBorderSpacing.CellAlignVertical

The vertical alignment of the associated Control when the control ChildSizing uses a tabular layout.

Declaration

Source position: controls.pp line 881

published property TControlBorderSpacing.CellAlignVertical : TControlCellAlign
  read FCellAlignVertical
  write SetCellAlignVertical
  default ccaFill;

Description

CellAlignVertical is a TControlCellAlign property which controls the vertical alignment and sizing of the control when its Parent uses a tabular layout for child controls. The default value for the property is caFill and causes the control to be resized to vertically fill the cell where the control is displayed.

See TControlCellAlign for more information about the values in the enumeration and their meanings.

Changing the value for the property causes the Change method to be called to recalculate the preferred size for the associated Control, and to signal the OnChange event handler (when assigned).

The value in CellAlignVertical is used when the AlignControls method in the associated Control is called.

See also

TControlBorderSpacing.Control

  

The control where the border spacing values are applied.

TControlBorderSpacing.Change

  

Invalidates the control and signals the OnChange event handler.

TControlBorderSpacing.CellAlignHorizontal

  

The horizontal alignment of the associated Control when the control ChildSizing uses a tabular layout.

TControlCellAlign

  

Modes for aligning a control in a table cell.

TWinControl.ChildSizing

  

Provides settings used to resize and align child controls using a tabular layout.

TWinControl.AlignControls

  

Repositions and resizes the control and child controls.


Version 4.0 Generated 2025-05-03 Home