TCustomLabel.SetBounds procedure
Sets the bounds (Top, Left, Width, Height) for the control.
Declaration
procedure SetBounds(aLeft: Integer; aTop: Integer; aWidth: Integer;
aHeight: Integer); overrideArguments
aLeft | Horizontal coordinate for the left-hand edge of the control. |
aTop | Vertical coordinate for the top edge of the control. |
aWidth | New width for the control. |
aHeight | New Height for the control. |
Description
Overridden to call InvalidatePreferredSize the first time the
method is used and both AutoSize and WordWrap are
enabled in the control. Calls the inherited method prior to exit.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
