[SOLVED] Odd behavior with icons in a dialog window lazarus / 31-LCL ---------------------------------------------------------------------- EganSolo · 2025-06-26 23:18 I have a .ico file housing icons sized from 16x16 thru 256x256. Loading this file into the icon property works without a hitch. Loading it in the icon property of dialog forms fail. By this, I mean that the loading works just fine, but when I click on the button to view the icon, the editor comes up empty. What am I doing wrong? ---------------------------------------------------------------------- ASerge · 2025-06-27 03:25 Quote from: EganSolo on June 27, 2025, 01:18:06 amWhat am I doing wrong? You don't show the code ---------------------------------------------------------------------- EganSolo · 2025-06-27 06:43 My bad, ASerge, please find included a simple project that illustrates the problem. The icon I want to add is Action.ico When you run the program, you should see the main form looking like in the first image. Then, when you press on the button "Show Dialog" you should see the dialog as in the second image. ---------------------------------------------------------------------- tetrastes · 2025-06-27 07:29 Form2 property BorderStyle is bsDialog. Forms of this style don't show icon at windows. ---------------------------------------------------------------------- ASerge · 2025-06-27 07:45 Set the BorderStyle to bsSingle to display the icon. ---------------------------------------------------------------------- EganSolo · 2025-06-27 21:56 Thanks guys! Much appreciated!