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

TCustomLabel.WordWrap

Allows text to wrap into multiple lines, when the text is too long for the available Width.

Declaration

Source position: stdctrls.pp line 1532

protected property TCustomLabel.WordWrap : Boolean
  read FWordWrap
  write SetWordWrap
  default False;

Description

When False, the text is truncated at the right margin of the control.

WordWrap=true and AutoSize=true requires that the Width is fixed, e.g. by anchoring the left and right side.

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