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

# TControlBorderSpacing.ControlTop

Position for the top edge of the associated Control after it has been adjusted for border spacing.

## Declaration

Source position: controls.pp line 867

`public property TControlBorderSpacing.ControlTop : Integer read GetControlTop;`

## Description

ControlTop is a read-only Integer property. Its value is calculated as the difference between the Top property in the Control and the values in the Around and Top properties.

For example:

    Control.Top - Around - Top

If a TControl instance is not available in Control, the value for the property is 0 (zero).

## See also

TControlBorderSpacing.Control |  | The control where the border spacing values are applied.
TControlBorderSpacing.Around |  | The border space on each of the edges for the associated control.
TControlBorderSpacing.Top |  | The border space on the top edge of the associated control.
TControlBorderSpacing.ControlHeight |  | Total height for the control including border spacing values in Around, Top, and Bottom.
TControl.Top |  | The client coordinate for the top edge of the control.