>Hilmar,
>
>If you use the baseclass of Control then the controls inside the container cannot be addressed, they are hidden from all code except the code in the control class. In this case you can ONLY access the container's Enalbed property because MyControl.Textbox results in an unknown object.
>
>It is surprising how few people know about or use the Control baseclass. It is ideal for your exact situation. Of cource you have to raise all value properties to the control's level if you need to read them in code, that is easily done by making their controlsource be properties of the control class.
I had quite forgotten about the base classes. I learned about them once upon a time...
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)