Table of Contents

TTMSFNCMemo.FindPrevious Method

Searches for the previous match using the supplied options.

API unit family: TMSFNCMemo Declaring type: TTMSFNCMemo Inherited from: TTMSFNCCustomMemo

Overloads

Overload 1

Searches for the previous match using the supplied options.

procedure FindPrevious(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 previous match using default options.

procedure FindPrevious(ASearchString: string); overload;

Parameters

Name Description
ASearchString The text to search for.

Overload 3

Searches backward from the specified position using the supplied options.

procedure FindPrevious(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 backward from the specified position using default options.

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

Parameters

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