Solved

About docking

Posted on 2004-08-12
3
371 Views
Last Modified: 2010-04-05
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
0
Comment
Question by:__alex
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
Hypoviax earned 125 total points
ID: 11790747
How about adding your docking procedure in form activate or form load
0
 
LVL 2

Author Comment

by:__alex
ID: 11790758
err..., docking procedure?! What's that?
0
 
LVL 2

Author Comment

by:__alex
ID: 11791054
procedure TForm1.FormCreate(...);
begin
  Panel2.ManualDock(Panel1);
end;
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

685 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