Discussion:
default ico to custom ico in exe file.
(too old to reply)
Cooper
2010-04-11 16:20:17 UTC
Permalink
Hello,
i have changed default ico con custum ico in my exe project. In main form i
display new ico correctly, but when i check exe file from directory, i
continue to display the default icon of delphi.
Can i can change it with my custom ico?
Thanks very much.
Cooper.
Jamie
2010-04-12 06:18:11 UTC
Permalink
Post by Cooper
Hello,
i have changed default ico con custum ico in my exe project. In main
form i display new ico correctly, but when i check exe file from
directory, i continue to display the default icon of delphi.
Can i can change it with my custom ico?
Thanks very much.
Cooper.
most likely a cache issue in windows.

right click in the short cut and see if you can update it.
a***@aol.com
2010-04-11 21:30:59 UTC
Permalink
Post by Cooper
Hello,
i have changed default ico con custum ico in my exe project. In main form i
display new ico correctly, but when i check exe file from directory, i
continue to display the default icon of delphi.
_Exactly_ how did you change to your custom icon ?

Alan Lloyd
Cooper
2010-04-11 22:54:20 UTC
Permalink
Post by a***@aol.com
_Exactly_ how did you change to your custom icon ?
Yes, all ok to form.
I tell about icon of executable file, associated to executable file; about
icon that i see to executable file from folder. I want customize it.
Me solved about customize it in form without problem.
Thanks again.
a***@aol.com
2010-04-12 05:56:38 UTC
Permalink
Post by Cooper
Post by a***@aol.com
_Exactly_ how did you change to your custom icon ?
Yes, all ok to form.
I tell about icon of executable file, associated to executable file; about
icon that i see to executable file from folder. I want customize it.
Me solved about customize it in form without problem.
Did you . . .

1 Change the Icon property of the form in the Object Inspector ?

2 Load the Icon in Project > Options > Application > Load Icon ?

3 Do 2 above & code in the form's OnCreate event handler . . .

Self.Icon := Application.Icon;

You really need to improve your English - not only to understand our
questions, but also to understand our answers <g>

Alan Lloyd
Cooper
2010-04-12 09:17:10 UTC
Permalink
Post by a***@aol.com
3 Do 2 above & code in the form's OnCreate event handler . . .
Self.Icon := Application.Icon;
Ok thanks, done all now. Me not done this third step before.
About my english, forgive me, my english is very awfull i know :(
Cooper.
a***@aol.com
2010-04-12 12:16:43 UTC
Permalink
On 12 Apr, 10:17, "Cooper" <***@blueware.it> wrote:
<snip>
Post by Cooper
Ok thanks, done all now. Me not done this third step before.
. . . and . . .

Self.Icon := Application.Icon;

. . . in the FormCreate of any other form you want the icon to appear
on.

Alan Lloyd

Loading...