MDI forms, the solution when you have
more than two forms open at the same time: (taken from
here)
frmMain, default properties.
frmCustomers
BorderStyle:bsTollWindow
FormStyle:fsStayOnTop
PopupMode:pmExplicit
PopupParent:frmMain
showInTaskBar:stNever
frmCustomersAddNewEdit
BorderStyle:bsToolWindow
FormStyle:fsStayOnTop
PopupMode:pmExplicit
PopupParent:frmCustomers
showInTaskBar:stNever
Forms all auto-create (Project -> Options -> Forms).
Works fine, only problem that when all forms are open, frmCustomer can get the focus and can be closed.
But, I think, it's a minor problem in comparison with the problem solved and somehow it can be fixed.
Ok, it's a simulation of MDI, the best would be MDI forms to work properly, but and this solution comes close.
And the forms are unmovable!
(Works only in Lazarus built with Qt)