[Pas2js] Pas2JS Widget

warleyalex warleyalex at yahoo.com.br
Fri Dec 7 21:32:17 CET 2018


Ulrich, Christian wrote
> Is that whats in your mind (not jet working) : ?

The Helios's widgets are dependent of the the closed source executable
"pas2js_build.exe" :( 
...the good news is you can compile the same widgets without this tool :) 

DOWNLOAD link:
https://www.dropbox.com/s/fxce1l52td1sbak/pas2js_widgets_designer.rar?dl=0

a) copy the "lib" folder to the installation, for instance,
.\pas2js-windows-1.0.4\packages\lib

b) make sure you modify the \bin\pas2js.cfg
-----------------------------------
#
# Minimal config file for pas2js compiler
#
# -d is the same as #DEFINE
# -u is the same as #UNDEF
#
# Write always a nice logo ;)
-l

# Display Hints, Warnings and Notes
-vwnh
# If you don't want so much verbosity use
#-vw

# Allow C-operators
-Sc

-Fu$CfgDir\..\packages\rtl
-Fu$CfgDir\..\packages\fcl-base
-Fu$CfgDir\..\packages\fcl-db
-Fu$CfgDir\..\packages\fpcunit
-Fu$CfgDir\..\packages\lib

#IFDEF nodejs
-Jirtl.js
#ENDIF

# end.
-----------------------------------

c) The "pas2js" is the modified the original pas2js widget package
(pas2jsdsgn.lpk), we use this package to create new pas2js web app with
visual forms.
You can view this package at "lazarus/components/pas2js", just rewrite this
directory and reinstall this pacakge.

d) You also have to install this package "lazarus_pas2js_designer", the
lazarus visual widgets.



--
Sent from: http://pas2js.38893.n8.nabble.com/


More information about the Pas2js mailing list