FMX.Controls.TTextControl.WordWrap

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property WordWrap: Boolean read GetWordWrap write SetWordWrap default False;

C++

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

Properties

Type Visibility Source Unit Parent
property public
FMX.Controls.pas
FMX.Controls.hpp
FMX.Controls TTextControl

Description

Specifies whether the text inside the TTextControl object wraps when it is longer than the width of the control.

Set WordWrap to True to allow the TTextControl control to display multiple lines of text. When WordWrap is True, text that is too long for the TTextControl object wraps at the right margin and continues in additional lines.

Set WordWrap to False for the text to span onto a single line of the TTextControl. However, in this case, the text that is too long for TTextControl appears truncated.

The default value for the WordWrap property is False.

See Also