Hi,
To make your control a proper container you should have t inherit from
ContainerControl If you do this then you can get this.Controls which will
allow you to check each of your child controls individually to see if they
are in the desired area.

Signature
Mike Powell
Ramuseco Limited
www.ramuseco.com
> I've created a Control class and have added the
> System.ComponentModel.DesignerAttribute attribute to make the Control
[quoted text clipped - 17 lines]
> Can someone please show me an example on how to do this?
> Thank you.
Mark Collard - 15 Jun 2006 16:11 GMT
Thanks. I'll give that ago.
Regards
Mark
> Hi,
> To make your control a proper container you should have t inherit from
[quoted text clipped - 23 lines]
> > Can someone please show me an example on how to do this?
> > Thank you.
PIEBALD - 04 Oct 2007 16:23 GMT
I'm trying to do something similar; I want to derive from TabPage, but use a
ParentControlDesigner (or similar) for it. (At the moment I use a UserControl
and add that control to a TabPage, but if possible, I'd like to remove that
step.)
The snippet in the original post didn't seem to work for me.
I'm using VS 2005