Difference between revisions of "WebView4Delphi"

From Lazarus wiki
Jump to navigationJump to search
(add templates)
m (Fix heading levels, add category)
 
Line 1: Line 1:
 
{{Platform only|Windows}}
 
{{Platform only|Windows}}
= About =
+
== About ==
  
 
[https://github.com/salvadordf/WebView4Delphi WebView4Delphi] allows to embed Chromium-based web browsers in your Delphi or Lazarus applications using the WebView2 runtime.
 
[https://github.com/salvadordf/WebView4Delphi WebView4Delphi] allows to embed Chromium-based web browsers in your Delphi or Lazarus applications using the WebView2 runtime.
 
It uses many of the tricks from CEF4Delphi and you will notice many similarities if you used it.
 
It uses many of the tricks from CEF4Delphi and you will notice many similarities if you used it.
 
There are a few things pending like the "windowless mode".
 
There are a few things pending like the "windowless mode".
 +
 +
== Author ==
  
 
Author: Salvador Díaz Fau
 
Author: Salvador Díaz Fau
 +
 +
== Licence ==
  
 
License: MIT
 
License: MIT
  
= Requirements =
+
== Requirements ==
  
 
If you have Windows 11 then you already have the "evergreen" version of the Microsoft Edge WebView2 Runtime installed in your computer but older Windows versions need to install it. Download it [https://developer.microsoft.com/en-us/microsoft-edge/webview2/#download-section from here].
 
If you have Windows 11 then you already have the "evergreen" version of the Microsoft Edge WebView2 Runtime installed in your computer but older Windows versions need to install it. Download it [https://developer.microsoft.com/en-us/microsoft-edge/webview2/#download-section from here].
 +
 
The WebView4Delphi demos are configured to use the "evergreen" version.
 
The WebView4Delphi demos are configured to use the "evergreen" version.
  
Line 18: Line 23:
  
 
==Demos==
 
==Demos==
 +
 
WebView4Delphi loads the WebView2Loader.dll library found inside the Microsoft.Web.WebView2 NuGet package version 1.0.1054.31 but author already extracted that DLL and copied it into the bin32 and bin64 directories, where the demo executables are automatically created.
 
WebView4Delphi loads the WebView2Loader.dll library found inside the Microsoft.Web.WebView2 NuGet package version 1.0.1054.31 but author already extracted that DLL and copied it into the bin32 and bin64 directories, where the demo executables are automatically created.
  
 +
[[Category:Lazarus]]
 
[[Category:Components]]
 
[[Category:Components]]

Latest revision as of 03:17, 6 December 2021

Windows logo - 2012.svg

This article applies to Windows only.

See also: Multiplatform Programming Guide

About

WebView4Delphi allows to embed Chromium-based web browsers in your Delphi or Lazarus applications using the WebView2 runtime. It uses many of the tricks from CEF4Delphi and you will notice many similarities if you used it. There are a few things pending like the "windowless mode".

Author

Author: Salvador Díaz Fau

Licence

License: MIT

Requirements

If you have Windows 11 then you already have the "evergreen" version of the Microsoft Edge WebView2 Runtime installed in your computer but older Windows versions need to install it. Download it from here.

The WebView4Delphi demos are configured to use the "evergreen" version.

Read the license carefully and pay special attention to the 3.a, 3.b, 9.a and 9.b points because your users might not like what Microsoft is doing.

Demos

WebView4Delphi loads the WebView2Loader.dll library found inside the Microsoft.Web.WebView2 NuGet package version 1.0.1054.31 but author already extracted that DLL and copied it into the bin32 and bin64 directories, where the demo executables are automatically created.