Possible Duplicate:
delphi non visual component image
How to add my icon to my created component in the component palette page?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To add icon to component you need to create dcr file using Delphi image editor.

In image editor create bitmap 24×24 16 bit. Rename bitmap to your control name.
Example: TMyCustomControl – TMyCustomControl (same name)
Save dcr file in the folder where the package is with any name (example: Icon.dcr).
Then open your package and right click -> View source.
Add line :
{$R ‘The dcr filename’}
In this case:
{$R 'Icon.dcr'}Click Compile and Install.
There you go. You have created your own component with icon. 🙂