Atozed Forums
Icon Intraweb application - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: Icon Intraweb application (/thread-2172.html)



Icon Intraweb application - l.Restif - 12-05-2020

Hello,

how to change the default icon intraweb in application mode?
It's the icon in the task bar.


RE: Icon Intraweb application - MJS@mjs.us - 12-05-2020

Hello,


Add a resource file (.rc file) to your project if you don't already have one and add something like this to it: 

IW_FAVICON   RCDATA  "D:\IW_Include\favicon.ico"

where favicon.ico is your custom icon.

[Image: cust-iw-icon.png]

Regards,
Mark


RE: Icon Intraweb application - kudzu - 12-05-2020

Favicon will set it on the web. If you want to set it for the SA app itself, look at the CustomSA demo and set the icon in project properties like a normal Delphi application.


RE: Icon Intraweb application - MJS@mjs.us - 12-05-2020

(12-05-2020, 05:56 PM)kudzu Wrote: Favicon will set it on the web. If you want to set it for the SA app itself, look at the CustomSA demo and set the icon in project properties like a normal Delphi application.

Did a quick test, the method I described does both cases at once.  If you needed the icons to be different then the above answer looks to be the solution.