If you ALWAYS want the other forms docked on panel2, then you just need to set the forms' parent property to be panel2 (and of course set the left, top and visible properties appropriately so that they appear when and where you expect).
If this is what you are going to do though, then you may be better off using frames rather than forms.
If you want the user to be able to dock forms on panel2 or drag them off of it then that's more in depth.....have a look at the docking example that comes with Delphi 7
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.