Solved

how do you dock forms?

Posted on 2001-06-13
6
159 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
Industry Leaders: 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to renew a Delphi rad-studio licence? 5 75
Convert a string into a TDateTime 5 72
creating threads in delphi 1 157
Breakpoint doesn't stop in my variable 3 36
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…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

735 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