Vcl.StdCtrls.TLabel.WordWrap

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property WordWrap: Boolean read FWordWrap write SetWordWrap default 0;

C++

__property WordWrap = {default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TLabel

Description

Specifies whether the label text wraps when it is too long for the width of the label.

Vcl.StdCtrls.TLabel.WordWrap inherits from Vcl.StdCtrls.TCustomLabel.WordWrap. All content below this line refers to Vcl.StdCtrls.TCustomLabel.WordWrap.

Specifies whether the label text wraps when it is too long for the width of the label.

Set WordWrap to true to allow the label to display multiple line of text. When WordWrap is true, text that is too wide for the label control wraps at the right margin and continues in additional lines.

Set WordWrap to false to limit the label to a single line. When WordWrap is false, text that is too wide for the label appears truncated.

See Also