This is not correct. You can add objects to Control class ONLY if you are working with the first level of subclassing. Any other level does not allow you to add.
Actually, this is what I have asked - why this class behaves so differently than the others? Is this by design? if yes, then it's a _bad_ design ;)
>Grigore,
>
>If my memory serves me right, you can not add object to Control class. You should use container or custom class instead.
>
>>Hi, everyone.
>>
>>I have a control base class (that's it: the base class is "control"). I can add objects to it. But if I subclass it, I cannot add objects in design time in the subclass. The error message is shown in the thread title.
>>
>>This means if I need several controls based on Control class, I have to subclass each of them from native base class and copy&paste the common methods/properties? If yes, then where's the OOP here?
Grigore Dolghin
Class Software.