TmwCustomCompoundComponent is a base class, which will allow you to design compound
components in a visual way like any form.
It's based on an idea described in Ray Lischner's book "Secrets of Delphi 2".
This book is highly recommendable, one of the best I've ever seen.
TmwCompoundComponentTemplate is a descendant of TmwCustomCompoundComponent.
Do never use one of these components directly.
Using them is very simple.
Open mwCoTemplate and save it under the name you wish.
Change in the ObjectInspector the Name Property to the name of your new component.
Then in the Register Procedure, type the name of the component page and the component
class.
Now you are ready to design visually your new component.
Do it as you would design any form.
The " Form " that you see isn't real a Form it's the container panel for your new component.
Delphi assumes that it is a form, thus this is what you see.
The " Form " contains two bevels, ignore them.
They serve to pass through the size of the Form's client area to the resulting component.
Simply this is the easiest way to do this.
Thus the resulting component will have the size of the Form's client area.
Without the bevels there would be a visual shift on the resulting component.
This is because of the title bar, Delphi will show in the design phase, althought
TmwCustomCompoundComponent isn't a form.
Again, consider Delphi assumes i's a form, thus the ObjectInspector shows the properties
of a form.
Setting one of these properties will only have any effect to the resulting component, if the
property is common to TPanel. 
You can set the properties for the components you have dropped with the ObjectInspector.
However, if you want to change these properties in the resulting component with the ObjectInspector
you must publish them before.
See the Demo.

Before I forget it, you aren't restrict to Tpanel.
Open mwCuCoCo and save it under any name, then  change the Name Property and replace
Tpanel with what you wish, including TForm and save it.
With TForm, however, you need a TImage to get a visual representation for your new component
in design time.
This will allow you to put whole forms in a component. 

Have fun.

  Martin Waldenburg
  Landaeckerstrasse 27
  71642 Ludwigsburg 

DISCLAIMER: This is provided as is, expressly without a warranty of any kind.
                      You use it at your own risc.
