TCnTextBoxBase.Lines Property

Gets or sets the lines of text in a text box control.

Namespace: CNClrLib.Control.TextBoxBase
protected
 property Lines: TStrings read GetLines write SetLines;

Property Value

Type: TStrings

A TStrings that contains the text in a text box control.

Each element in the array becomes a line of text in the text box control. If the Multiline property of the text box control is set to true and a newline character appears in the text, the text following the newline character is added to a new element in the array and displayed on a separate line.