Find

Description

Finds text in a RichTextEdit control or RichTextEdit DataWindow or DataStore.

For syntax for PocketBuilder DataWindows and DataStores, see the Find method for DataWindows in the DataWindow Reference or online Help.

Applies to

RichTextEdit controls and DataWindow controls (or DataStore objects) whose content has the RichTextEdit presentation style

Syntax

controlname.Find ( searchtext, forward, insensitive, wholeword, cursor )

Returns

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