Peter, thanks for the reply.
I have taken you advice and removed the 'EMAIL' bitmap from the component
DCR file, leaving only the component palette icon in there, then added it to
my component (DesignTime) package RES file. I followed this by adding {$R
SoftTechDesign.res} to the implementation section of my component source for
this one component and recompiled my package, and this did the trick.
Thanks for the heads up as I appreciate your help.
Mike
----- Original Message -----
From: "Peter Laman" <peter.la...@gmail.com>
To: "Delphi-Talk Discussion List" <delphi-talk@elists.org>
Sent: Wednesday, January 19, 2011 1:44 PM
Subject: Re: How do I load a bitmap from a dcr file for my component in
Delphi2010? Resource not Found
It's a bit of a strange practice to use a .dcr for that. DCR files are
intended to provide the Delphi IDE with a glyph for the component palette
and they should normally only contain a single bitmap.Normally DCR files
are
only linked with the package that registers the component with Delphi. If
you want a glyph to be used for a bitmap, I'd recommend creating a
separate
.res file and linking that one to your program. That should work by all
means.
Cheers,
-Peter
__________________________________________________
Delphi-Talk mailing list -> Delphi-Talk@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk