Windows with Delphi Windows API (94) Windows Filesystem (41) Windows Forms (69) Windows Graphics (38)
Exchange Links About this site Links to us 
|
Changing your application's icon at runtime
This article has not been rated yet. After reading, feel free to leave comments and rate it.
It's easy to change the icon - just set the property with a construct like this:
 | |  | |
if (Working) then
Application.Icon.LoadfromFile(StartupDirectory + 'Busy.ico')
else
Application.Icon.LoadfromFile(StartupDirectory + 'Lazy.ico');
| |  | |  |
Comments:
|