Hi, it’s some days I’m struggling with Web Core & Lazarus...
To make a long story short (as short as possible):
-
installed lazarus-2.0.2-fpc-3.0.4-win64.exe (which is the version suggested into README file)
-
used v1.8.5.0 package, Lazarus installer in order to have files into local directory
-
used video instructions from TMS WEB Core: Installing & using TMS WEB Core in the Lazarus IDE - YouTube
-
opened package TMSWEBCorePkglibLaz v1.8.2 and installed components following video above
-
had to remove a comma in line 27 of file WEBLib.WebCtrls inside {$IFDEF LCLTMSWEB} block because installation crashed... after removing comma it was possible to complete installation
After having done all steps above, TMS WEB Components appeared on the palette and TMS Web Core Application was available in the new project wizard... BUT then it's not possible to compile a simple project.
I just created a TMS Web Core Application with TWebForm and dropped a TWebButton on it - double clicking on the button does not lead to method creation in IDE but to the following error:
The component editor of class “TDefaultComponentEditor” has created the error:
“Unable to create new method: Please fix the error
shown in the message window which is normally below
the source editor.”
In the message window the message is
Codetools, Errors: 1
web.pas(1019,49) Error: expected end., but JSValue found
at line 1019 of web.pas this is the source code:
procedure debug(Obj1 : JSValue); varargs of JSValue;
Any suggestion/fixing?
Same is happening with Lazarus 2.0.12 (which is current official latest distro). Both in windows and in macOS.
Thanks!
-FB.