Container Control Kvetch

I understand that a ContainterControl is not a control nor a window, but it can be subclassed.

Why is it that if MySpecialContainer is subclassed from ContainerControl, you can say
if aControl (looping through the controls) isa MySpecialContainer? One has to go through all sorts of convolutions with EmbeddedWindowControl.

Keep a reference to embedded containers and it’s far easier to manage. Interact with the embedded containers through your stored reference.


I effectively do that. The problem is that one would think they would work like other objects.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.