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

Nothing is visible, no rendering!? #50

Closed ma3as closed 6 months ago

ma3as commented 6 months ago

Hi,

I used the code of SimpleBrowser Demo (runs fine) and expand to a kind of SimpleTabbedBrowser (because the TabbedBrowser Demo is much complicate for my little project - I only need the view...).

But now nothing is rendering.

What's wrong?

TestWebView.zip

salvadordf commented 6 months ago

The Sender parameter in TWVBrowserBase.OnAfterCreated is the TWVBrowserBase instance and not a TWVWindowParent. Don't set focus on a hidden control. Please, use our forum for questions.