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

TCustomLabel.CalculateSize

Determines the text extent, base on a maximum field width.

Declaration

Source position: stdctrls.pp line 1504

protected procedure TCustomLabel.CalculateSize(

  MaxWidth: Integer;

  var NeededWidth: Integer;

  var NeededHeight: Integer

);

Arguments

MaxWidth

  

Where wordwrap may start.

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