How change icon on form? lazarus / 9-Editor ---------------------------------------------------------------------- mich.sipek · 2008-03-05 11:32 I have a problem. When I change icon on form, icon does not show on exe file or form. Do you know about this problem?... Help me? ...Thanks ---------------------------------------------------------------------- Leledumbo · 2008-03-06 04:35 QuoteDo you know about this problem? A lot. Use resources instead. ---------------------------------------------------------------------- daz · 2008-05-11 12:12 I've always wondered, how do you go about creating a resource file? ---------------------------------------------------------------------- cyber_python · 2008-05-11 15:01 http://www.lazarus.freepascal.org/index.php?name=PNphpBB2&file;=viewto pic&t;=1172&start;=0 ---------------------------------------------------------------------- LazaruX · 2008-05-21 14:35 I am thinking to try to solve this bug, but I need time. Now just hard code or use the free apps available ---------------------------------------------------------------------- Jophish · 2008-06-11 15:44 I am able to get the form icon to match the .exe icon, using antonio's code. However this seems to make the .exe icon a very low resolution. What can be done about this? I see that none of the forms in lazarus have the default Windows Icon, how can I replace that in my programs with the main exe icon for my program? I noticed that in the form file (lfm) there is a long string of Hex values, under icon.data, could these be useful? I posted here as it's a similar problem, and it seemed silly to create a new thread. Also, is there an ETA for marc implementing icons? EDIT: After a bit of experimentation, I have concluded that you cant really change the Hex values to anything but hat they start out as, I get an error complaining about how it can't create the object or executable of my .exe file. ---------------------------------------------------------------------- Marc · 2008-06-13 08:55 second part wil be comitted soon (after we fix lazarus crashes) third part will be actually setting the form/application icons