Re:Lazarus 2.0 RC3 – Delphi-compatible cross-platform IDE
by jenkstom on Tuesday January 08, 2019 @11:46AM
(#18856948)
We just need a Lazarus target for webassembly and we'll be good.
[ Parent
| on HN ]
Re:Lazarus 2.0 RC3 – Delphi-compatible cross-platform IDE
by michielr on Tuesday January 08, 2019 @03:52PM
(#18859557)
Pretty sure this is being worked on! If you're really interested I can check with an ex-colleague who is involved in Free Pascal.
Re:Lazarus 2.0 RC3 – Delphi-compatible cross-platform IDE
by tabtab on Tuesday January 08, 2019 @01:42PM
(#18858160)
Hmmm, can Lazarus be used to build a "GUI browser"? For example, can one send a "create button" command or tag to it and have it draw one dynamically? What about new panels and forms? How "meta" can its GUI engine be at run-time.
Re:Lazarus 2.0 RC3 – Delphi-compatible cross-platform IDE
by vram22 on Tuesday January 08, 2019 @03:46PM
(#18859506)
Yes, it may be able to. At least, Delphi, the idea (and language) of which Lazarus is based on, was written in itself, at least for v1, I've read. Probably for later versions too, because Object Pascal (although IIRC the language is now called Delphi, like the product), is a powerful general-purpose programming language, with OOP support, module (units) support, and even some sort of generics (IIRC) in later versions.
Re:Lazarus 2.0 RC3 – Delphi-compatible cross-platform IDE
by lmz on Tuesday January 08, 2019 @01:56PM
(#18858362)
Yes it can do that. That's how the IDE works and displays the GUI designer.
Re:Lazarus 2.0 RC3 – Delphi-compatible cross-platform IDE
by tabtab on Tuesday January 08, 2019 @02:27PM
(#18858717)
Can you recommend any documentation on the "meta" angle? Most documentation I find assumes the creation of "static" widgets that are activated or hidden at run-time (or at least act that way).
Re:Lazarus 2.0 RC3 – Delphi-compatible cross-platform IDE
by lmz on Wednesday January 09, 2019 @05:52AM
(#18863806)
This is for Delphi however it should be very similar for Lazarus: https://stackoverflow.com/questions/1005373/creating-compone...
Nothing magic. Create it, set properties.