[DUG] Component icon change help

Jeremy North jeremy.north at gmail.com
Sat Jan 5 00:57:57 NZDT 2008


If you have created a DCR file and the dcr file isn't included in the
package the easiest way to get it added to the package is:

1. remove the unit from the package
2. add the unit back to the package

This should then add the DCR file automatically to the package for
you. Your DCR file must be the same name as the Unit you are adding to
the package.

Delphi 2006 and above also support component images in small, medium
and large sizes.

(More info: http://jedqc.blogspot.com/2005/12/d2006-designtime-components-support.html)

If you component doesn't automatically show the updated component it
could just be a cache issue with the palette. You may need to restart
Delphi for it to be recognised.

cheers


On Jan 4, 2008 4:10 PM, Vikas... <vikas.image at gmail.com> wrote:
> Hi,
>
> I am actually new to component creation in delphi. I developed one component
> whose ancestor is derived from tcomopent. But i came up with one trouble
> that is i dotn want the component to have it default look i crated one
> resource file using delphi iamge editor and btmap in it. Then i included {$R
> test.res} under inface section, But i still takes the default compoent look.
> I even tried .dcr file but that diesnt seems to help me.
> Please anyone can help me how do i change the compoent default look and let
> it handle the bitmap aperace as i mentioned in my res file.


More information about the Delphi mailing list