[Pas2js] is it possible to create GUi with no need to manually add the code to .html page

Michael Van Canneyt michael at freepascal.org
Wed Aug 26 08:41:58 CEST 2020

On Tue, 25 Aug 2020, Mgr. Janusz Chmiel wrote:

> Here is The code, but Browser still show empty page.
>  Terminate;
> end;
> var
>  Application : TMyApplication;
> begin
>  Application:=TMyApplication.Create(nil);
>  Application.Initialize;
>  Application.Run;
>  Application.Free;

Do not free the application object, it will free your page as well, and
destroy the html.


More information about the Pas2js mailing list