Table of Contents

TTMSFNCCustomMemo.FindNext Method

Searches for the next match using the supplied options.

API unit family: TMSFNCMemo Declaring type: TTMSFNCCustomMemo

Overloads

Overload 1

Searches for the next match using the supplied options.

procedure FindNext(ASearchString: string; AOptions: TTMSFNCMemoFindOptions); overload;

Parameters

Name Description
ASearchString The text to search for.
AOptions The search or replace options to apply.

Overload 2

Searches for the next match using default options.

procedure FindNext(ASearchString: string); overload;

Parameters

Name Description
ASearchString The text to search for.

Overload 3

Searches forward from the specified position using the supplied options.

procedure FindNext(ASearchString: string; APos: Integer; AOptions: TTMSFNCMemoFindOptions); overload;

Parameters

Name Description
ASearchString The text to search for.
APos The text position to convert or start searching from.
AOptions The search or replace options to apply.

Overload 4

Searches forward from the specified position using default options.

procedure FindNext(ASearchString: string; APos: Integer); overload;

Parameters

Name Description
ASearchString The text to search for.
APos The text position to convert or start searching from.