SelectTextWord

Description

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

Applies to

RichTextEdit and DataWindow controls

Syntax

rtename.SelectTextWord ( )

Returns

Integer. Returns the number of characters selected if it succeeds and -1 if a word cannot be selected or an error occurs.