Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

how do you dock forms?

Posted on 2001-06-13
6
Medium Priority
?
165 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 300 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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

Independent Software Vendors: 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!

Question has a verified solution.

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

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

885 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