About docking

Hi,

on my form there's a panel (Panel2) on another panel (Panel1), Panel1 is the dock site and Panel2 the dock client. I'm able to dock and undock but if I start the application Panel2 resides on Panel1 like in design mode, neither docked nor undocked. How can I tell it to be docked?

TIA
LVL 2
__alexAsked:
Who is Participating?
 
HypoviaxConnect With a Mentor Commented:
How about adding your docking procedure in form activate or form load
0
 
__alexAuthor Commented:
err..., docking procedure?! What's that?
0
 
__alexAuthor Commented:
procedure TForm1.FormCreate(...);
begin
  Panel2.ManualDock(Panel1);
end;
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.