[Solved] How can I access the project icon. lazarus / 39-Graphics ---------------------------------------------------------------------- loaded · 2022-03-13 13:22 Hi All, During the output process, there is a situation like printing the Project icon as a logo. How can I display the project icon in Image at runtime? ---------------------------------------------------------------------- wp · 2022-03-13 13:34 Just use Application.Icon: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i   Image1.Picture.Assign(Application.Icon); Select the other images contained in the icon by changing the Application.Icon.Current property which runs between 0 and Application.Icon.Count-1. ---------------------------------------------------------------------- winni · 2022-03-13 13:36 Quote from: loaded on March 13, 2022, 02:22:30 pmHi All, During the output process, there is a situation like printing the Project icon as a logo. How can I display the project icon in Image at runtime? Hi! Very simple: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i var R : Trect;begin R := Rect(0,0, Application.Icon.width, Application.Icon.height); Image1.Canvas.CopyRect (R, Application.Icon.Canvas,R);end; Winni ---------------------------------------------------------------------- loaded · 2022-03-13 13:54 Thank you very dear masters wp and winni I wish everything was this easy.