FindText Method

[Top]  [Chapter]  [Previous]  [Next]

Applies to

IWPTextCursor

Declaration

procedure FindText(const Text: WideString; FromStart: WordBool; CaseSensitive: WordBool; MoveCursor: WordBool; WholeWords: WordBool; var Found: WordBool);

Description

Locates a text

Parameters

Text

The text to be searched and selects it or moves the cursor.

FromStart

TRUE to start at the beginning of the text

CaseSensitive

TRUE to serach csae sensitive

MoveCursor

TRUE to move the cursor to the found position. Otherwise the text will be selected but the cursor will not be moved.

WholeWords

TRUE to find whole words only.

Found

Will be set to TRUE if the text was found.


[idh_iwptextcursor_findtext.htm]    Copyright © 2007 by WPCubed GmbH