WebView4Delphi

Delphi源码 2025-07-29

WebView4Delphi

WebView4Delphi is an open source project created by Salvador Díaz Fau to embed Edge/Chromium-based browsers in applications made with Delphi or Lazarus/FPC.

WebView4Delphi only supports Windows. If you need to embed a web browser in Linux, Windows or MacOS consider using CEF4Delphi instead.

WebView4Delphi uses the Microsoft Edge WebView2 Runtime and Microsoft.Web.WebView2 NuGet package version 1.0.3351.48 to embed a web browser.

WebView4Delphi was developed and tested on Delphi 12.3, Delphi XE2, Delphi 7 and Lazarus 4.0/FPC 3.2.2. Delphi 6 support needs to be tested and it requires installing the second Delphi 6 patch.

WebView4Delphi includes VCL, FireMonkey (FMX) and Lazarus components.

WebView4Delphi is a replacement of the TWebBrowser and TEdgeBrowser components. It's a full implementation of the WebView2 framework, it's updated frequently and it also supports older Delphi versions.

Links

  • Installation instructions and more information about WebView4Delphi
  • Developer Forums
  • Microsoft Edge WebView2 Runtime documentation
  • Microsoft Edge WebView2 Runtime API reference
  • Microsoft Edge WebView2 Runtime downloads
  • Microsoft.Web.WebView2 NuGet package

Support

If you find this project useful, please consider making a donation.

You can also support this project with Patreon.

You can also support this project with Liberapay.

Related projects

  • CEF4Delphi
  • OldCEF4Delphi
  • Chromium
  • MfPack
  • PasDoc
  • WebUI4Delphi
  • WebUI4CSharp

Other resources

  • Learn Delphi
  • Essential Pascal by Marco Cantù
  • Free Pascal Reference guide
  • Modern Object Pascal Introduction for Programmers
  • FreePascal from Square One by Jeff Duntemann
  • Pascal and Lazarus Books and Magazines
  • Lazarus Documentation
  • Delphi Succinctly
  • Start Programming using Object Pascal

Attribution

  • Fugue & Diagona icons
  • FatCow Farm-Fresh Web Icons
  • Material Design Icons
  • Monaco Editor

Additional: Delphinus-Support

下载源码

通过命令行克隆项目:

git clone https://github.com/salvadordf/WebView4Delphi.git