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

TControl.SetBounds

SetBounds - set the bounds (top. left, height, width) for the window

Declaration

Source position: controls.pp line 1234

public procedure TControl.SetBounds(

  aLeft: Integer;

  aTop: Integer;

  aWidth: Integer;

  aHeight: Integer

); virtual;

Arguments

aLeft

  

The X co-ordinate of the top left pixel of the control

aTop

  

The Y co-ordinate of the top left pixel of the control

aWidth

  

The width of the control

aHeight

  

The height of the control