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

TControlBorderSpacing.Around

The border space on each of the edges for the associated control.

Declaration

Source position: controls.pp line 878

published property TControlBorderSpacing.Around : TSpacingSize
  read FAround
  write SetAround
  stored IsAroundStored;

Description

Around is a is a TSpacingSize property which indicates the number of pixels used as border spacing for the associated Control. It specifies the minimum distance between an edge on the parent control or an adjacent edge on a sibling control.

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

Values in Left, Right, Top, Bottom, Around, and InnerBorder may be scaled by X and Y scaling factors when the AutoAdjustLayout method is called.

Values in Left, Right, Top, Bottom, Around, and InnerBorder are used in Control methods which anchor or adjust the layout and size for the control instance on its parent control. Around is applied independent of values in the Left, Right, Top, or Bottom properties; the effective border spacing is always a sum of the value in Around and the corresponding property for a given edge.

See also

TControlBorderSpacing.Control

  

The control where the border spacing values are applied.

TControlBorderSpacing.Top

  

The border space on the top edge of the associated control.

TControlBorderSpacing.Left

  

The border space on the left edge of the associated control.

TControlBorderSpacing.Right

  

The border space on the right edge of the associated control.

TControlBorderSpacing.Bottom

  

The border space on the bottom edge of the associated control.

TControlBorderSpacing.AutoAdjustLayout

  

Automatically adjusts the size of the control using the specified proportions.

TWinControl.AlignControls

  

Repositions and resizes the control and child controls.

TWinControl.Controls

  

Provides indexed access to the child controls for the class instance.

TWinControl.CalculatePreferredSize

  

Override this method to return a different preferred height and/or width for auto-sizing.

TControl.Parent

  

The control within which the control is shown.

TControl.DoAutoAdjustLayout

  

Applies layout changes using the specified policy and scaling proportions to the control.

TControl.AnchorToNeighbour

  

Anchor to Sibling at Side.

TControl.AnchorAsAlign

  

Anchor to the Parent using the Align value for the control.

TSpacingSize

  

Alias to the Integer type.


Version 4.0 Generated 2025-05-03 Home