On Sat, 13 Oct 2007 23:07:52 +0200
wile64 <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Here is my project:
>
> 1 package
> x units with 1 component / unit
> 1 file LRS with all bitmaps for all components
> 1 unit with register function here:
>
> procedure RegisterComponants;
> begin
> RegisterComponents('tabs,[component1, component2]);
> end;
>
> procedure Register;
> begin
> RegisterUnit('LZVRegister',@RegisterComponants;
> end;
>
> Initialization
> {$I lzvimages.lrs}
>
> My problem is the bitmap not associated to components(in lazarus
> tabs), What is the problem?
> There may be another solution?
The bmp/xpm resource must have the component classname. For example:
tbutton.bmp for TButton.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives