Forum > Third party

My new project : WebView4Delphi

(1/2) > >>

salvadordf:

I just published a new project in GitHub called WebView4Delphi.

WebView4Delphi allows you to embed Chromium based web browsers in your Delphi or Lazarus applications using the WebView2 runtime.
It uses the latest stable version of the WebView2 nuget package 1.0.1054.31.

I used many of the tricks I learned creating CEF4Delphi and you will notice many similarities if you used it.

I still have to write the documentation but you can build the available demos to see it working in VCL, FMX and Lazarus apps.

There are a few things pending like the "windowless mode".

It's being distributed with a simple MIT license so anyone can do whatever s/he wants with it.
 
https://github.com/salvadordf/WebView4Delphi

loaded:
salvadordf , thanks for your detailed work. I think you did a great job.

--- Quote from: salvadordf on December 03, 2021, 11:03:56 pm ---I used many of the tricks I learned creating CEF4Delphi and you will notice many similarities if you used it.

--- End quote ---
We use CEF4Delphi in our projects. It was a bit difficult in the beginning, but now it works very stable and smoothly.
While we're on the subject, I'd like to thank you here. Respects.

zoltanleo:

--- Quote from: salvadordf on December 03, 2021, 11:03:56 pm ---I just published a new project in GitHub called WebView4Delphi.
--- End quote ---
Hi salvadordf.

This is a great job. The package was installed successfully, but ... when I try to run any demo I always get some error

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---Project TabbedBrowser raised exception class 'Exception' with message:Failed to create win32 control, error: 1407 : �� ������� ����� ����� ����.  In file 'win32\win32wscontrols.pp' at line 225

salvadordf:
Please, download WebView4Delphi again from GitHub.

I just fixed an issue with the ".ignore" file and now all the required files are included in the package.

Alse make sure you install the evergreen WebView2 runtime before executing the demos :
https://developer.microsoft.com/en-us/microsoft-edge/webview2/#download-section

Alextp:
Posted small info to wiki
https://wiki.freepascal.org/Webbrowser#WebView4Delphi

Navigation

[0] Message Index

[#] Next page

Go to full version