Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

Is there an equivalent of Find() and StopFinding() in WebView4Delphi?

Post Reply
nightbird
Posts: 4
Joined: Thu Oct 14, 2021 9:57 pm

Is there an equivalent of Find() and StopFinding() in WebView4Delphi?

Post by nightbird »

Hello Salvador,

I am already using CEF4Delphi for years.
Now, i am exploring WebView4Delphi.

Is there an equivalent of TChromium.Find() and TChromium.StopFinding() in WebView4Delphi?

Thanks in advance,
Greetings from Belgium.
Philip.
User avatar
salvadordf
Posts: 4620
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Is there an equivalent of Find() and StopFinding() in WebView4Delphi?

Post by salvadordf »

Hi Philip,

That API is not available yet but it's in the pull request list :
https://github.com/MicrosoftEdge/WebView2Feedback/pull/4399

I guess it will be added to the stable runtime in the coming months.

All we have for now is TWVBrowserBase.KeyboardShortcutSearch which simulates an F3 key press to show the search box.
nightbird
Posts: 4
Joined: Thu Oct 14, 2021 9:57 pm

Re: Is there an equivalent of Find() and StopFinding() in WebView4Delphi?

Post by nightbird »

Hello Salvador,

Thanks for your quick reply.
I'm going to play with the "F3 key press" simulation and follow up the updates.

Thanks for sharing all your AMAZING work,
Have a nice weekend!
Philip
Post Reply