Show: Delphi C++
Display Preferences

Vcl.StdCtrls.TCustomLabel.WordWrap

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property WordWrap: Boolean read FWordWrap write SetWordWrap default False;

C++

__property bool WordWrap = {read=FWordWrap, write=SetWordWrap, default=0};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomLabel

Description

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

Personal tools
In Other Languages
Previous Versions
Assistance