Home > OS >  delphi MDI form without Tmainmenu
delphi MDI form without Tmainmenu

Time:12-13

I am trying to work with MDI forms without TMainMenu and call Form2 from speedbutton which on Ttoolbar. when Form2(child) maximized , form header and bordericons disappears. enter image description here

I want Form2(child) will be maximized under Ttoolbar and header and border icons are visible enter image description here

CodePudding user response:

This is how MDI works. instead of using MDI you can use a TPanel and set it as Parent for child forms, something like this:

var
 FChild: TfrmChild;
begin
 FChild := TfrmChild.Create(Self);
 FChild.Parent := pnlMain;
 FChild.Show;
end;

...

enter image description here

  • Related