Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to get all windows

    Hi all! SmartClient is exelent!
    yeahh

    How can i get all windows in a layout?


    thanks for the time

    #2
    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.

    Comment


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

      Comment


        #4
        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.

        Comment


          #5
          THANKSSS

          for (int i = 0; i < layout_desktop.getChildren().length; i++) {
          layout_desktop.getChildren()[i].hide();
          }
          Last edited by jamesjara; 12 Aug 2010, 06:50.

          Comment

          Working...
          X