On Mon, 10 Jan 2011 13:25:29 +0200, Graeme Geldenhuys wrote:
Op 2011-01-10 12:41, michael.vancann...@wisa.be het geskryf:

... fpGUI is very sensitive to the order in which you do things.

That's simply because the UI is defined as actual source code (just like Qt Creator, any Java form designer, MS Visual Studio etc), and gives the developer a guaranteed creation order of components. I don't see that as a bad thing, just different to Lazarus and Delphi's UI designers, which
use external "object form file" to load the UI.

You shouldn't mix IDE and Runtime here. Qt as well as some Java UI Designers (at least Matisse) use separate form files. Qt generates the C++ code out of those during the build process, Netbeans afaik updates the Java source while editing. But the designers in both cases rely on the external files to manage the forms.

I guess it wouldn't be too hard to write a similar preprocessor for Lazarus too, that converts the lfm into actual code, but there doesn't seem to be enough benefit.

Best Regards,
Andreas

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to