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

TControl.SetInitialBounds

Sets the bounds of the control initially, when it is created.

Declaration

Source position: controls.pp line 1520

public procedure TControl.SetInitialBounds(

  aLeft: Integer;

  aTop: Integer;

  aWidth: Integer;

  aHeight: Integer

); virtual;

Arguments

aLeft

  

X coordinate of top left pixel

aTop

  

Y coordinate of top left pixel

aWidth

  

Width of control

aHeight

  

Height of control

Description

Does nothing while the control is loaded.

See also

SetBounds

  

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

The latest version of this document can be found at lazarus-ccr.sourceforge.net.