Thanks. So simple.

-----Original Message-----
From: Allan Vergara [mailto:[EMAIL PROTECTED]]
Sent: 26 November 2002 10:13
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Docking forms to Panels in Code


If you want to dock a form into the panel automatically, just do:

  Form1.BorderStyle:= bsNone;  //only if you want to hide the caption bar of
the form
  Form1.Parent:= Panel1;
  Form1.Show;

Gook luck!


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
Notice of Legal Status and Confidential Information: This electronic mail
message and any accompanying attachments may contain information that is
privileged and CONFIDENTIAL.  If you are not the intended recipient you are
advised that any use, review, dissemination, distribution or reproduction of
the information is strictly prohibited and may be unlawful.  If you have
received this document in error, please notify the sender immediately and
destroy the message.
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to