Could you create a UserControl that contains a GroupBox, and forwards 
appropriate properties and methods to the contained GroupBox?  Then the 
design-mode user could put something on top of the GroupBox if that was desired 
<g>.

At 08:13 AM 9/6/2006, Stanislav Peťko wrote
>Hello
>
>How can I make inherited control, which I can edit in design mode: add more 
>controls on it etc. Basically, I need a usercontrol, but it cannot by 
>inherited form UserControl class but from some another class (say GroupBox). 
>If I inherit directly form GroupBox, I loose design mode possibilities. I 
>cannot add more controls on it in design mode (well, I can add them, but it's 
>different. I cannot position and size it visually).
>
>Is there a way to accomplish this?
>
>Thanks, Stano


J. Merrill / Analytical Software Corp

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to