[Lazarus] What for Adding lrs file to Package?
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Tue Sep 13 00:08:37 CEST 2011
Zaher Dirkey schrieb:
> After i added lrs file to the unit that register my controls, the icons
> showed.
IMO it's a matter of {$R some.res}, what makes icons (and other
resources) usable in code. AFAIK the standard {$R *.res} only includes
the <programname>.lrs file, that's why it worked when you put your icons
into that file. But it should be possible to add further {$R ...}
directives, to include other resource files as well.
DoDi
More information about the Lazarus
mailing list