Forum > General

Class implementation in GUI-Designer

(1/1)

braindaddy73:
Hello,

sorry, I am new here. I have a question due to *.lfm and corresponding unit. I'm coming from wxwidgets / c++.

The *.pas only has the class declaration and the implementation of the events. There is no constructor, which builds the frame.

Do I understand right, that the {$R *.lfm}  resource include implements these on compile-time?

Thx
Heiko

braindaddy73:
Ok, sorry, found via delphi.

The lfm file is build in the app and loaded at runtime.

marcov:
Yes, it is stored in a resource. On Windows EXEs these resource sections can be edited, and overlaid with translated resource dlls. (not with lazarus yet though)

Navigation

[0] Message Index

Go to full version