Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dock Form 1

Status
Not open for further replies.

ruan123

Programmer
Jul 23, 2004
23
ZA
Hi

Can anybody help me with docking a form in delphi 7.

I have a main form with two panels and want to dock the rest of my forms on panel2?

Thank you
 
Hi,

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

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top