Quoting Dennis Chuah <[EMAIL PROTECTED]>:
> effect. I wonder, if you can delete the RES file that Delphi generates for
> the project (this should have only 2 resources, the icon and versioninfo).
> Reselect the icon into the project and recompile.
I deleted the .res file and reloaded Delphi and it recreated it (strangely
thou, it kept the version resource details which surprised me, does it store
this somewhere else?)
Rebuilding didn't help, still no icon. But.... I noticed another .res file
that I include that has a cursor resource in it, I removed that from the
project and rebuilt, and voila - my icon showed!!!!
But now I don't get my custom cursor. I have custom cursors in my components
and it works fine, but if I include the .res in my form it doesn't, this is
what I have:
implementation
uses DataModule, resstrings...... etc. etc. etc.
{$R *.DFM}
{$R SFM.RES}
const ..... etc. etc. etc.
I tried changing the order of the files, but that didn't change anything,
should I load my resource elsewhere or by another method?
Mark
--
Thou they try, they shall never take me alive.
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz