Hi salvadordf,
Thank you again for your programs. To summarize:
- My Lazaruses were working fine.
- When I first installed WebView4Delphi, I couldn't see the components in the Object inspector.
- I reinstalled Lazarus and the packages I used to use (via online package manager), then I can see components in the object inspector.
- And I can use Webview4Delphi. But the content of webpage is not displayed automatically until I resize the form.
- Now I have added the following event handler, and the form automatically display the content of webpage.
procedure TForm1.WVBrowser1AfterCreated(Sender: TObject);
begin
WVWindowParent1.UpdateSize;
end;
- So I wonder TWVWindowParent does not display the content of the webpage until its size is updated.
This is my experience, and now I can use your component for my application --- to preview HTML (and maybe + javascript) produced by my application. The old HTMLViewer were too limited, as it cannot process many features of recent HTML5. So I really appreciate your efforts and products.
The small issues I wrote here are just for your information. I can not bypass them. And I hope that they can contribute to enhancing your products further.