FMX.Objects.TText.WordWrap
Delphi
property WordWrap: Boolean read GetWordWrap write SetWordWrap;
C++
__property bool WordWrap = {read=GetWordWrap, write=SetWordWrap, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FMX.Objects.pas FMX.Objects.hpp |
FMX.Objects | TText |
Description
Specifies whether the text inside the TText control wraps when it is longer than the width of the control.
Set WordWrap to True to allow the TText control to display multiple lines of text. When WordWrap is True, text that is too long to fit in the TText control 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 TText control. However, in this case, the text that is too long to fit in the TText control appears truncated.