I haven't been using a Lazarus form. I created the project using "Create a new project" then "Program" and then the form is defined in the text source. I can't actually see it until I compile the program.
Works in Windows but not Linux but I think that this is not unique to fpgui
QuoteWorks in Windows but not Linux but I think that this is not unique to fpguiYes ..in linux it is use a fixed Icon (array of pixel) ..../fpgui/src/corelib/x11/fpg_x11.pas **line 48 IconBitmapBits: packed array[1..32] of Byte = ( $00, $00, $78, $07, $08, $00, $00, $00, $08, $07, $08, $01, $08, $01, $00, $00, $00, $00, $98, $74, $a4, $24, $84, $24, $b4, $24, $a4, $24, $18, $73, $00, $00);
IconBitmapBitsW: packed array[1..16] of Word = (%0000000000000000,%0000011101111000,%0000100100001000,%0000100100111000,%0000011100001000,%0000000100001000,%0000000100001000,%0000000000000000,%0000000000000000,%0111010010011000,%0010010010100100,%0010010010000100,%0010010010110100,%0010010010100100,%0111001100011000,%0000000000000000);
IconBitmapBits: packed array[1..32] of Byte absolute IconBitmapBitsW;
Is there a way to change the icon in the title bar of a program written using fpgui?
You can use words instead of bytes:
and if you care, you can reverse the bits using any of the methods mentioned here.