[Pas2js] Re Comments on Cross Compilable Components
warleyalex
warleyalex at yahoo.com.br
Tue May 1 01:36:34 CEST 2018
Steve wrote
> Building a custom component in LCL that will work in the above way is
> non-trivial.
Steve,
I'm going to share you a project, called
atob("VE1TIFdlYiBDb3JlIDQgTGF6YXJ1cw==")
created using demoniac tricks.
, , , , ,
<(__)> | | |
| \/ | \_|_/
\^ ^/ |
/\--/\ /|
/ \/ \/ |
The project
https://www.dropbox.com/s/vvg0e086hsmh9z1/pas2js4lazarus_demoniac_version.rar?dl=0
contain some demos but using runtime components only - the visual components
missing feature. I don't find enough time to sit down and finish the visual
components. It sucks because I really want to finish the project. Would you
mind creating the visual components?
Look at the demos folder, the project
atob("VE1TIFdlYiBDb3JlIDQgTGF6YXJ1cw==") have a interesting component called
gridPanel, it does something similar to your XVBox / XHBox components, but
using a different approach.
The serialization mechanism (LFM-TO-PAS) of the project
atob("VE1TIFdlYiBDb3JlIDQgTGF6YXJ1cw==") comes from the TCompWriterPas
classes, to create and initialize the components at startup.
Your serialization mechanism to integrate LFM resources {$I rtl.lrs} and XML
nodes to initialize the components, maybe is not a good idea since can add
some overhead in the JS, but it's nice. Don't know if can be easily
integrated to the atob("VE1TIFdlYiBDb3JlIDQgTGF6YXJ1cw==") project.
best regards,
warleyalex
--
Sent from: http://pas2js.38893.n8.nabble.com/
More information about the Pas2js
mailing list