Mega Code Archive

 
Categories / Delphi / Graphic
 

Changing your applications icon at runtime

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');