salvadordf / WebView4Delphi

WebView4Delphi is an open source project created by Salvador Díaz Fau to embed Chromium-based browsers in applications made with Delphi or Lazarus/FPC for Windows.
https://www.briskbard.com/forum/
MIT License
280 stars 56 forks source link

Tabbed Browser Demo: PixelsPerInch? #49

Closed ma3as closed 6 months ago

ma3as commented 6 months ago

Hello,

I got the exception "Property PixelsPerInch does not exists" when run the Tabbed Browser Demo. It's when create the BrowserFrame. I use Delphi 10.1 Berlin.

How to fix that?

salvadordf commented 6 months ago

Hi,

The demos were created using the latest Delphi version and some properties don't exist in older versions. Open the demo, show the form and select the "save all" option in Delphi. It should delete all the invalid properties and the next time you build the demo you won't see that error.

If you still see that error because it's part of the code then let me know the line.

ma3as commented 6 months ago

Yes, now works. Thank you.