Solved

how do you dock forms?

Posted on 2001-06-13
6
156 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
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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

776 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