i am trying to minimize delphi fmx form with a custom button; but for some reason it doesn’t minimize fully
[]
[]
button code
procedure TForm_Main.Button_MinClick(Sender: TObject);
begin
WindowState := TWindowState.wsMinimized;
end;
i changed some of the form settings :
BorderStyle : None
BorderIcon : i deselected them all
Transparency : True
and the rest is just some panels with buttons in them (i did costume there style)
(i am using delphi 12.1)