Unit 'Controls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TControl.Top

The client coordinate for the top edge of the control.

Declaration

Source position: controls.pp line 1778

published property TControl.Top : Integer
  read FTop
  write SetTop;

Description

Top is an Integer property with the coordinate for the top edge of the control relative to its Parent. Changing the value for the property causes SetBounds to be called to apply the new value for the property along with the existing values in Left, Width, and Height.

See also

TControl.Height

  

The vertical size for the control.

TControl.Left

  

The client coordinate with the left edge for the control.

TControl.Width

  

The horizontal size for the control.

TControl.Parent

  

The control within which the control is shown.

TControl.SetBounds

  

Sets the bounds (Left, Top, Width, Height) of the control.

TControl.ChangeBounds

  

Sets the bounds (left, top, height, width) and optionally the BaseBounds of the control.



CT Web help

CodeTyphon Studio