Cool. Thanks, the Bitmap did it. Cheers, Dave.
-----Original Message----- From: Jeremy North [mailto:[EMAIL PROTECTED] Sent: Monday, 4 August 2003 2:10 p.m. To: Multiple recipients of list delphi Subject: Re: [DUG]: Component Icon Create a DCR file in image editor. Add bitmap 24x24. Call bitmap the same name as your class. ie. TMYNEWCOMPONENT. Has to be all uppercase. Name the dcr file the same name as your registration unit. (it doesn't have to be though) Link the dcr into your component registration file. If the rego unit and dcr are the same name {$R *.dcr} otherwise {$R mycompimages.dcr}. Something like that anyway... JED [EMAIL PROTECTED] wrote on 04/08/2003 12:00:37 PM: > I know this has come up before, but I can't find a reference to it. > > How do I attach an Icon for my new component on the VCL? > > Ta, > Dave. > --------------------------------------------------------------------------- > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the [EMAIL PROTECTED] --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
