I used to use this trick to get a panel as container for a form on Delphi (7).
This trick works very well on Delphi. The trick is about displaying a form
(TForm) inside a panel (TPanel) as the form container. It's like TFrame but we
can attach any regular forms instead of a frame and we can attach any forms on
runtime.

What exactly are you trying to do?
MDI ?
You could try to use MultiDoc for this.

Just like I said, it's like TFrame but can accept a TForm instead of TFrame. The whole ideas and purposes is almost like TFrame, but it can be assigned during runtime. I've been use this trick since Delphi 5.

Just like what Christian said, it's more like "view" management. And like Alexandre said, it allows user interface code reuse and design simplification and later code maintenance.

So, it's not MDI though it looks like MDI. :)

-Bee-

has Bee.ography at
http://beeography.wordpress.com

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to