When working with mobile applications, trying to place all your code on one form can become cumbersome. So to overcome this you will need to create forms and dock forms onto a main form permanently or temporarily. If you believed that FMX form Docking is the same as VCL, then this blog will help you to make the new implementation easier because the FMX method is a lot different from the VCL method.
Tokyo 10.2 used, this should be backwards compatible to Post XE4 versions.
Dock different forms to a specific tab-item in the tab-control of a form and free them when required.
Standard FMX Library.
Difficulty level - Low.
How does it work?
The Form to be ‘Docked to’ must have a Tlayout or Tpanel or similar which becomes the Parent object to be docked to.
The Form to be ‘Dockedfrom’ must have a Tlayout or Tpanel or similar which becomes the Child of the Parent.
All the children ( Tedits, Tbuttons,Tlabels, etc) of the ‘DockedFrom’ form become the children of the Parent and are added in the order in which they were created at design time.
So if you will be reusing the ‘Dockedto’ as the parent to add and remove different forms...
Read my blog to get all the information on how to impliment docking:- Delphi-FMX-form-docking