Mastodon
Programmierung

Default icon is used instead of custom icon

Q:
default icon is used instead of custom icon

A:
just found this mail – do you talking about the application-icon? if so i maybe can help you:
i found out that delphi is using the FIRST icon in the resources as it’s default icon.
if you link your own resources with icons to the application ({$R Myres.res} for example) and the icons has names starting with a,b,c,… the default icon isn’t used.

how to find this out?
just open the sample-project that comes with delphi – the resource-explorer. compile it and then look at your application. you may see your own icons and a “Mainicon” (or something like that)….

now, just make sure that your own ico-resources has names > “mainicon”.

hope that helps
Boris

[tags]Delphi, Application, Icon[/tags]

0 Kommentare zu “Default icon is used instead of custom icon

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht.