-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Request] Could you possibly include an example on how to use, please? #1
Comments
Hi Gus (@gcarreno)! First of all, thanks for asking! I'm currently trying to make basic html viewer features for At the moment I can give you this code fragment based on my internal demo: uses Pospolite.View.RegisterAll;
...
var
browser: TPLHTMLViewer;
...
procedure TForm1.FormCreate(Sender: TObject);
begin
browser := TPLHTMLViewer.Create(self);
browser.Align := alClient;
browser.BorderSpacing.Top := 50;
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
browser.LoadFromString('<html lang="pl"><head><title>Test</title><style>.spdiv{width: 200px; height: 100px; background: red;}</style></head><body><div class="spdiv"></div></body></html>');
Caption := 'Demo - ' + browser.Document.Title;
end; As you can see, nothing is shown. Despite this, html code is parsed and some management threads are running. I hope that soon I will be able to show what my html viewer can do ;) Regards, |
Hey Marcin(@Matek0611), That's friggin awesome and I hope you continue the good work towards a visually appealing component that can topple Let's keep this issue open until you get the first progress in visual advancement? Many thanks for your work, this project is DA BOMB 😉 Cheers, |
Hi Gus (@gcarreno)! Thanks for your feedback! I really appreciate that someone sees the potential of my project 😊 You know, for a single programmer it's hard to create something huge like fully functional html engine with a vast amount of features but I'm trying to do my best to create something that will be useful for me and many Free Pascal enthusiasts. Yes, this issue will remain open until I'm satisfied with the visuals. I'll post some progress here, so keep your eyes peeled! Regards, |
Hey Marcini(@Matek0611), I completely understand your feelings!! You're more than welcome!! And I assure you that I will, indeed, keep my eyes very peeled and will monitor this issue for your most welcomed updates!! I'm really pumped to see this project to fruition since it's been a very long while that we've had a good tool to display HTML that doesn't rely on such heavy external binaries!! And with so many planned features!!! Cheers, |
Hey Marcin(@Matek0611),
Would it be too much to ask if you could include a folder with an example project on how to use this wonderful piece of software?
Many, MANY thanks in advance!!
Cheers,
Gus
The text was updated successfully, but these errors were encountered: