Delphi and Kylix

Moderators: pritaeas
Number of threads: 7264
Number of posts: 19073

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Problem with App. Icon Posted by lajevardi on 25 Jun 2005 at 9:35 AM
Hi guys;
i change application icon via Project>Option>Application>Load icon...,
But it does not work;
i was load a .ico image!
?!?!?

Report
Re: Problem with App. Icon Posted by zibadian on 25 Jun 2005 at 10:58 AM
: Hi guys;
: i change application icon via Project>Option>Application>Load icon...,
: But it does not work;
: i was load a .ico image!
: ?!?!?
:
:
I don't understand your question. What doesn't work? Doesn't the icon load into the application's resources? Or do you want to load a .bmp image as icon?
Report
Re: Problem with App. Icon Posted by lajevardi on 25 Jun 2005 at 11:12 AM
: : Hi guys;
: : i change application icon via Project>Option>Application>Load icon...,
: : But it does not work;
: : i was load a .ico image!
: : ?!?!?
: :
: :
: I don't understand your question. What doesn't work? Doesn't the icon load into the application's resources? Or do you want to load a .bmp image as icon?
:
The Application Icon does not change!
Report
Re: Problem with App. Icon Posted by Gaashius on 27 Jun 2005 at 12:26 AM
: : : Hi guys;
: : : i change application icon via Project>Option>Application>Load icon...,
: : : But it does not work;
: : : i was load a .ico image!
: : : ?!?!?
: : :
: : :
: : I don't understand your question. What doesn't work? Doesn't the icon load into the application's resources? Or do you want to load a .bmp image as icon?
: :
: The Application Icon does not change!
:
Well, maybe you're pressing Cancel instead of OK(I'm sure you didn't do this but maybe by accident..?)

****************
Any questions? Just ask!

GAASHIUS


Report
Re: Problem with App. Icon Posted by lajevardi on 27 Jun 2005 at 5:58 AM
: : : : Hi guys;
: : : : i change application icon via Project>Option>Application>Load icon...,
: : : : But it does not work;
: : : : i was load a .ico image!
: : : : ?!?!?
: : : :
: : : :
: : : I don't understand your question. What doesn't work? Doesn't the icon load into the application's resources? Or do you want to load a .bmp image as icon?
: : :
: : The Application Icon does not change!
: :
: Well, maybe you're pressing Cancel instead of OK(I'm sure you didn't do this but maybe by accident..?)
:
: ****************
: Any questions? Just ask!
:
: GAASHIUS
:
:
:

=))
, tnx ;)
Report
Re: Problem with App. Icon Posted by softman on 27 Jun 2005 at 10:16 AM
: : : : : Hi guys;
: : : : : i change application icon via Project>Option>Application>Load icon...,
: : : : : But it does not work;
: : : : : i was load a .ico image!
: : : : : ?!?!?
: : : : :
: : : : :
: : : : I don't understand your question. What doesn't work? Doesn't the icon load into the application's resources? Or do you want to load a .bmp image as icon?
: : : :
: : : The Application Icon does not change!
: : :
: : Well, maybe you're pressing Cancel instead of OK(I'm sure you didn't do this but maybe by accident..?)
: :
: : ****************
: : Any questions? Just ask!
: :
: : GAASHIUS
: :
: :
: :
:
: =))
: , tnx ;)
:
Hi!

It can be a real problem, as it happened with me also.
I have properly assigned the application icon, and in the property form it shown up right.(and pressed the OK button, tried it several times) But after compiling the project, the application exe icon stayed as the delphi default. Actually the resource file could not load.
The solution was. I have opened the application main .pas.

I'v searched the line :
{$R *.res}
I'v checked the actual resource name in my project directory "system.res" (my app was:system.exe)
I'v changed the line to {$R system.res}
After compiling it, everithing was great, the exe icon changed.
(originaly I lost my app icon, when I'v changed the main from from sdi to mdi)

\\///
/O O\
| | |
| _ |
\___/
SoftMan




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.