Find

Searches the currently opened document for the specified text. To perform a Find Next, call this method repeatedly with the original search term. If you specify an empty string for the FindText, a Find dialog box appears.

Syntax

bRet = KeyView.Find(FindText, FindDown, MatchCase)

Parameters

Parameter Type Description
FindText String A string that contains the text to find.
FindDown Boolean Specifies whether to search from the selected point in the document to the beginning (FALSE) or to the end (TRUE) of the document.
MatchCase Boolean Specifies whether to match the case of the search term.

Returns

Type Description
Boolean

TRUE if the method succeeds.

FALSE if the method fails.