[DUG] Component icon change help

Sabu M Hariharan Sabu.Hariharan at igate.com
Fri Jan 4 18:21:58 NZDT 2008


Hi Vikas,

 

Check the names of the bitmap you created and the class name of your
component.

Both should be same.

 

Regards,

Sabu M H

 

________________________________

From: delphi-bounces at listserver.123.net.nz
[mailto:delphi-bounces at listserver.123.net.nz] On Behalf Of Vikas...
Sent: Friday, January 04, 2008 10:40 AM
To: NZ Borland Developers Group - Delphi List
Subject: [DUG] Component icon change help

 

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.

 

One more thing i tried other compoent style of writing and i checked
their resource file using resource hacker exe. I found my resource file
is correct. i am sure i am missing a imporant step somewhere which i am
not able to figure out. 

 

Regards

Vikas


iGATE is Ranked No. 3 in DQ-IDC best IT employer survey and Ranked No.6 
by Business Today-Mercer Human Resource Consulting-TNS  in a cross industry survey of Best Companies to work for in India
----------------------------------------------------------------DISCLAIMER---------------------------------------------------------
Information transmitted by this EMAIL is proprietary to iGATE Group of Companies and is intended for use only by the individual 
or entity to whom it is addressed and may contain information that is privileged, confidential, or exempt from disclosure under 
applicable law. If you are not the intended recipient of this EMAIL immediately notify the sender at iGATE or mailadmin at igate.com 
and delete this EMAIL including any attachments
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20080104/cf2f9c2d/attachment.html


More information about the Delphi mailing list