SelectTextLine

Description

Selects the line containing the insertion point in a RichTextEdit control.

Applies to

RichTextEdit and DataWindow controls

Syntax

rtename.SelectTextLine ( )

Returns

Integer. Returns the number of characters selected if it succeeds and -1 if an error occurs.