how do you dock forms?

How do you make a particular childform dockable (aligned to the bottom, top, left or right) to its parent form?
ttanyagAsked:
Who is Participating?
 
ITugayConnect With a Mentor Commented:
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
 
TOndrejCommented:
Have a look at the Dockex demo in your $(DELPHI)\Demos\Docking directory
0
 
TOndrejCommented:
wb Igor :-)
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
danyszCommented:
listening
0
 
ITugayCommented:
Hi Ondrej,
I'm back yerstaday evening, glad to see you :-)

PS: my e-mail will work after tomorrow.
sorry for off topic.
0
 
wamozCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.