MDI or something like MDI lazarus / 10-Designer ---------------------------------------------------------------------- rodrigojpf · 2014-02-22 16:58 Need to have something like MDI in my program basicly a main form for the program and using child forms for the rest help? ---------------------------------------------------------------------- exdatis · 2014-02-22 17:27 http://forum.lazarus.freepascal.org/index.php/topic,22809.msg135403.ht ml#msg135403 ---------------------------------------------------------------------- rodrigojpf · 2014-02-22 18:06 Thanks :p I believe that solvs my problems ---------------------------------------------------------------------- zeljko · 2014-02-22 22:11 Quote from: rodrigojpf on February 22, 2014, 05:58:07 pmNeed to have something like MDI in my program basicly a main form for the program and using child forms for the rest help? Qt widgetset on linux,mswin and osx have full support for MDI. ---------------------------------------------------------------------- RalphMuc · 2014-05-06 19:43 Hi Rodrigo, every form can be a mdi child of any lazarus control with 2 lines of code: Code: [Select]procedure TForm1.ButtonAdminClick(Sender: TObject); begin   windows.SetParent(form7.Handle, panel2.Handle);   SendMessage(form7.Handle, WM_NCACTIVATE, WPARAM(True), 0);   form7.left := 10;   form7.Top := 10;   form7.show;   form7.SetFocus; end;    The parent is panel2.Handle - the child is form7. This will only work on windows... rgds Ralph