[Pas2js] Cases
Michael Van Canneyt
michael at freepascal.org
Mon Oct 29 21:03:04 CET 2018
On Mon, 29 Oct 2018, heliosroots wrote:
> Yes I know and I use promise with Pas2JS ... Michael Van Canneyt said that it
> is not yet possible to compile LCL with Pas2JS ... it is for these and other
> limitations, so the initial doubt about which path the project is going to
> follow has arisen.
I think you should continue to create a web widgetset that is usable for web,
independent of LCL.
For design-time support in the IDE, you can use 3 approaches
- Custom designer support (see the example provided in lazarus)
- CEF (Chromium Embedded)
- The TMS way of doing it: Design using LCL widgets, translate to your widgetset.
(the 'provides' support of lazarus packages can be useful here)
Personally, I think CEF is the most powerful approach, bu Cudtom Designer is
probably the fastest (you can draw simply rectangles).
At a later moment, an LCL widgetset can be built on top of the web widgetset.
Michael.
More information about the Pas2js
mailing list