Hi.

I want to make a custom control where I can put other controls at design time.
In vb6 I only had to change a property. But with VB 2005 Express I'm totally stuck.

I already added this code:

VB Code:
  1. <System.ComponentModel.Designer("System.Windows.Forms.Design.ParentControlDesigner,System.Design", GetType(System.ComponentModel.Design.IDesigner))> _
  2.  
  3. Public Class ExpandContainerNet
  4.  
  5. Inherits System.Windows.Forms.UserControl

But then when I want to drop a control over my control it gets just behind it and not into the control. What I am missing?

Thanks.