Skip to main content
Table of Contents

TTMSFNCWebBrowser.FindOnPage Method

Starts a find-on-page session for ASearchTerm and shows the Edge Find bar. Windows/Edge only; returns False on other platforms or when the WebView2 Runtime is too old (< 1.0.3405).

API unit family: TMSFNCWebBrowser Declaring type: TTMSFNCWebBrowser

Syntax

FMX.TMSFNCWebBrowser.hppPascalC++
function FindOnPage(const ASearchTerm: string; ACaseSensitive: Boolean = False; AMatchWholeWord: Boolean = False; AHighlightAllMatches: Boolean = True; ASuppressDefaultDialog: Boolean = False): Boolean; override;
virtual bool __fastcall FindOnPage(const System::UnicodeString ASearchTerm, bool ACaseSensitive = false, bool AMatchWholeWord = false, bool AHighlightAllMatches = true, bool ASuppressDefaultDialog = false);