SelectTextWord

Description

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

Syntax

PowerBuilder DataWindow control

integer rtename.SelectTextWord ( )

Returns

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