FindNext

Description

Finds the next occurrence of text in the control and highlights it, using criteria set up in a previous call of the Find function.

Applies to

RichTextEdit controls and DataWindow controls whose content has the RichTextEdit presentation style

Syntax

controlname.FindNext ( )

Returns

Integer. Returns the number of characters found. FindNext returns 0 if no matching text is found and -1 if the DataWindow’s presentation style is not RichTextEdit or an error occurs.