On Tue, 1 May 2018, Ryan Joseph wrote:
On May 1, 2018, at 7:49 PM, Michael Van Canneyt <mich...@freepascal.org> wrote: I didn't. Some Regexps in an editor did the job handsomely...By hand. Hardcore. ;) Because I don’t see it on the wiki can post a minimal example/template of how to get a canvas started?
Check the canvas demo (demo/rtl/democanvas2d.pas)
Basically I want that but it references an HTML file, do we need to make that in addition to the Pascal?
The "new web project" wizard will make the HTML file for you, if you installed the pas2js_dsgn.lpk package in Lazarus. I think it is available with the distributed latest lazarus, but you should be able to use (I think) the trunk version of the package as well, even in an official lazarus setup. (Mattias can confirm/deny) Michael.
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal