Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3780

How to traverse DesktopContainer

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 3780

Trending Articles