Modal form lazarus / 31-LCL ---------------------------------------------------------------------- bigeno · 2013-03-22 12:33 Are there any recommendation for modal forms that are created and show also from modal forms ? My main form create and show modal form by: Form2 := TForm1.Create(nil); Form2.ShowModal; and form2 also have modal form to show in the same way. But in that case if I switch between windows applications (alt+tab) (last modal form is visible main->form2->form3) then when I'm back to my application I see only form2 and in background main form (main form is larger). There is no form3, form3 went between main form and form2. ---------------------------------------------------------------------- wp · 2013-03-22 14:14 I am using here Lazarus trunk / fpc 2.6.2 on Win7/32 bit, and a demo according to your description is running fine. ---------------------------------------------------------------------- bigeno · 2013-03-22 15:45 Quote from: wp on March 22, 2013, 03:14:12 pmI am using here Lazarus trunk / fpc 2.6.2 on Win7/32 bit, and a demo according to your description is running fine. What about when form3 have bsSizeToolWin as BorderStyle ? ---------------------------------------------------------------------- wp · 2013-03-22 15:56 Works fine also. I also tried Laz1.08 / fpc2.6.2, works fine as well. ---------------------------------------------------------------------- bigeno · 2013-04-21 21:38 I finally found a solution. I set PopupParent (for modal form) to owner form and works ok now