Solved

how do you dock forms?

Posted on 2001-06-13
6
160 Views
Last Modified: 2010-04-06
How do you make a particular childform dockable (aligned to the bottom, top, left or right) to its parent form?
0
Comment
Question by:ttanyag
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 9

Accepted Solution

by:
ITugay earned 100 total points
ID: 6185098
Hi ttanyag,

1.
   drop TPanel on your parent form (Panel1)
2.
procedure TForm1.SpeedButton1Click(Sender: TObject);
begin
   Panel1.DockSite := true;
   Form2.ManualDock(Panel1, nil, alClient);
   Form2.Show;
end;
0
 
LVL 8

Expert Comment

by:TOndrej
ID: 6185101
Have a look at the Dockex demo in your $(DELPHI)\Demos\Docking directory
0
 
LVL 8

Expert Comment

by:TOndrej
ID: 6185102
wb Igor :-)
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 2

Expert Comment

by:danysz
ID: 6185130
listening
0
 
LVL 9

Expert Comment

by:ITugay
ID: 6185139
Hi Ondrej,
I'm back yerstaday evening, glad to see you :-)

PS: my e-mail will work after tomorrow.
sorry for off topic.
0
 
LVL 1

Expert Comment

by:wamoz
ID: 6881358
Does Delphi 5 have any documentation for this besides the demo program already mentioned? Preferably something that explains the mechanics of docking; which components are responsible for what, etc.
0

Featured Post

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question