RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFieldTextArea.Wrap Property

Specifies how the generated control treats lines that are longer than the display width.

Pascal
property Wrap: TTextAreaWrap;
C++
__property TTextAreaWrap Wrap;

Use Wrap to specify how the generated control formats lines that are longer than the number of characters specified by DisplayWidth. TWebTextAreaInput uses Wrap to add a WRAP option to the generated TEXTAREA tag. 

Wrap can have any of the following values:

Value 
WRAP option value 
Meaning 
wrOff  
OFF  
The control does not wrap long lines. Only newline characters that are part of the text string cause the lines in the control to wrap.  
wrPhysical  
PHYSICAL  
The control formats its text value by wrapping long lines so that no text is hidden. The control inserts carriage returns into the text string.  
wrVirtual  
VIRTUAL  
The control formats its text value by wrapping long lines so that no text is hidden but does not change the actual value of the text string.  

 

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