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

TControlChildSizing.VerticalSpacing

Minimum space between child controls which are vertically adjacent.

Declaration

Source position: controls.pp line 1991

published property TControlChildSizing.VerticalSpacing : Integer
  read FVerticalSpacing
  write SetVerticalSpacing
  default 0;

Description

VerticalSpacing is an Integer property with the number of pixels reserved as spacing between vertically adjacent child controls. The default value for the property is 0 (zero) and indicates that no additional space is reserved on the corresponding edges of the Control. Changing the value for the property causes the Change method to be called to resize/realign child controls. The OnChange event handler is also signalled (when assigned).

VerticalSpacing also affects control spacing when using Anchors for positioning child controls on a parent.

Use HorizontalSpacing to set the space reserved between horizontally adjacent child control.

Use TopBottomSpacing to set the space reserved at the top or bottom edge for the Control.

See also

TControlChildSizing.Change

  

Notifies the Control of the child sizing changes and signals the OnChange event handler.

TControlChildSizing.OnChange

  

Event handler signalled when the size or layout for child controls has been changed.

TControlChildSizing.Layout

  

Indicates the layout direction used when child controls are resized and arranged into rows and / or columns.

TControlChildSizing.ControlsPerLine

  

The number of controls displayed per column or row for the orientation / fill direction specified in Layout.

TControlChildSizing.TopBottomSpacing

  

Minimum distance between the top or bottom edge of a Control and the top or bottom edge for a child control.

TControlChildSizing.HorizontalSpacing

  

Minimum space between child controls which are horizontally adjacent.


Version 4.0 Generated 2025-05-03 Home