Sign in Join
FPDoc Onlineexperiment

TControlBorderSpacing.Around property

Member of TControlBorderSpacingpublishedIn unit Controls

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

Declaration

pascal
property 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.