WebView for FireMonkey

WebView for FireMonkey

Delphi and C++ Builder component to host web content in your applications.
  • uses Microsoft WebView2 API
  • requires Microsoft Edge (Chromium) version 85.0.538.0 or higher
  • supports Delphi/C++ Builder XE4 - 10.4
  • source code included in registered version
  • royalty free distribution in applications

Download and order

FAQ

How can I allow OnWebResourceRequested events?
Set URI filter:
							FWebView.AddFilter;
							
How can I set custom response?
procedure TFormMain.WebViewWebResourceRequested(Sender: TObject;
  const Request: TWebResourceRequest; var Response: TWebResourceResponse);
const Content = '<html><body>Hello!</body></html>';
begin
  Response := WebView.CreateResponse;
  Response.Content.Write(Content, Length(Content));
end;
							

Related links