In the new version, when I create multiple DesktopContainers and reference them in Windows1.
I hope to enumerate all Container1 objects. In the past, I could use the following code
for each itm as DesktopControl in self.Controls
MessageBox(itm.Name)
next
Because all controls are subclasses of DesktopControl.
But now it seems that something has changed. DesktopContainer is no longer a subclass of DesktopControl. How can I enumerate it?
4 posts - 4 participants