> What about Application.Icon property ? No. Around the in main program icon (in Delphi it is on Options of project)
Well, in Lazarus I was not able to find it in project options, such as Delphi, also in other part. I tried so set it at runtime using Application.Icon but I got an access violation. I tried these solutions: 1. Application.Icon.LoadFromFile(OpenDialog1.Filename) but I got an access violation. 2. I created a private field of the form of TIcon type, then I used this code: Application.Icon.Assign(fIcon) but I got always an access violation 3. In the same way: Application.Icon := fIcon making pointing icon application to the same object of fIcon give not me any errors but application icon seems not to change. Slapshot -- Antonio Sanguigni alias slapshot ---------------------------------------------------------------------- GioveLUG (Linux User Group) - http://www.giovelug.org Edupup (Educational distro) - http://www.edupup.org
