[Pas2js] LFM-to-PAS on-the-fly

Mattias Gaertner nc-gaertnma at netcologne.de
Wed May 2 08:22:26 CEST 2018


On Tue, 1 May 2018 21:32:00 -0500 (CDT)
warleyalex via Pas2js <pas2js at lists.freepascal.org> wrote:

>[...]
>   with Button1 do begin
>     Name:='Button1';
>     Parent:=Self;
>     Left:=20;
>     Height:=39;
>     Top:=17;
>     Width:=78;
>     Caption:='Button1';
>     TabOrder:=0;
>     //  ---> did not generate the OnClick:=@generateINCFiles;
>   end;

IDE created events have a special structure.
You also need the ancestor and inline instances.
I will add a function this weekend.

Mattias


More information about the Pas2js mailing list