caption of the form, but on Linux it seems to hide the form, is it a bug?:
procedure TForm1.Button1Click(Sender: TObject);
begin
if Form1.BorderStyle = bsNone then
Form1.BorderStyle := bsSizeable
else
Form1.BorderStyle := bsNone;
end;
Versions:
$ fpc -iW
3.3.1-10795-g81d7e28a87
$ lazarus -v |grep Revision
2.3.0 Revision: main-2_3-1527-gfd20290ce1
but on linux some times the system force window decoration by composite
Обсуждают сегодня