Sign in Join
FPDoc Onlineexperiment

TControlBorderSpacing.Top property

Member of TControlBorderSpacingpublishedIn unit Controls

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

Declaration

pascal
property Top: TSpacingSize read FTop write SetTop stored IsTopStored;

Description

Top is a TSpacingSize property which indicates the number of pixels used as border spacing for the associated Control. It specifies the minimum distance between either the top edge of the parent control or the bottom edge of an adjacent 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.

Use Bottom to specify the border spacing on the bottom edge of the associated Control.

See also

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