How to get all windows

Hi all! SmartClient is exelent!
yeahh

How can i get all windows in a layout?

thanks for the time

Do you mean literally the Window widget or just members of a layout? Are the windows added to the layout? Need to be a bit more clear but Layout.getMembers() may be what your searching for.

thanks man this but this work only with addmember , and mw windows a is a child.

Well ditto on the Canvas.getChildren() method to the main layout you might be adding the children to. Otherwise provide a bit more information about exactly where these windows are.

THANKSSS

for (int i = 0; i < layout_desktop.getChildren().length; i++) {
layout_desktop.getChildren()[i].hide();
}