RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TLabel.WordWrap Property

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

Pascal
property WordWrap: Boolean;
C++
__property Boolean WordWrap;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!