MDI form sizing problem lazarus / 10-Designer ---------------------------------------------------------------------- christensen · 2011-08-07 14:53 Hi, I wan to open all windows in the main form Tpanel, but i have problem with sizing. Code: [Select]procedure TForm1.MenuItem2Click(Sender: TObject); begin   Form2.Parent:=Panel2;   Form2.Visible:=true; end; Form 2 style: fsMDIform Main form windows state 'normal', form2 windows state is 'maximized'. (http://img94.imageshack.us/img94/7249/normalep.th.jpg) when i try to maximize the main form, form2 will look like on the second screenshot, (http://img171.imageshack.us/img171/7913/max0.th.jpg) when i try to maximize form 2 it look like: (http://img685.imageshack.us/img685/92/trytomax.th.jpg) and if i try again only then i have luck.  (http://img12.imageshack.us/img12/3316/maxfl.th.jpg) Than i try to comeback with the mainform and the second form remain bigger (http://img684.imageshack.us/img684/2750/backnormal.th.jpg)