TCustomRichView.StoreSearchResult

<< Click to display table of contents >>

TCustomRichView.StoreSearchResult

Stores the position in the document to allow searching from this place.

procedure StoreSearchResult(ARVData: TCustomRVData;
  StartItemNo, StartItemOffs, EndItemNo, EndItemOffs: Integer;
  Invert: Boolean);

(introduced in version 21)

This method is useful only if you want to search without selecting found strings.

You can call this method from OnTextFound event to store the position of the search result.

Then you can continue searching from this position by calling TRichView.SearchText with rvsoFromStored in the Options parameter (or TRichViewEdit.SearchText with rvseoFromStored in the Options parameter

See also:

Searching in TRichView and TRichViewEdit.