[CLOSED] Determine desktopwindow open

  1. #1

    [CLOSED] Determine desktopwindow open

    Hi,

    Is there a way to determine which destopwindows are open ?

    I 'm trying to reload the content in all open windows when changing some values in another desktopwindow. I can do that when using the exact id of a window but I need to make that dynamic ( so check which windows are still maximized)

    Martin
    Last edited by Daniil; Aug 16, 2010 at 10:19 AM. Reason: [CLOSED]
  2. #2
    Hi Martin,

    I wanted to do a similar thing in my project, and used this code to loop through all windows that were opened through the desktop:

    dskMain.getDesktop().getManager().each(function (opElement)
    {
        if (opElement.isVisible())    // If the Window is currently visible on the Desktop
        {
            // Do stuff here if window is visible
        }
    });
    Hope that helps.

    Dan
  3. #3
    Thanks Daniel..

    Works like a charm. Does everything I was hoping to achieve.

    Martin

Similar Threads

  1. Determine if tab is opened?
    By Tbaseflug in forum 1.x Help
    Replies: 1
    Last Post: Jun 13, 2012, 2:30 PM
  2. [CLOSED] SelectBox: Is it possible to determine the font?
    By nhg_itd in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Nov 01, 2011, 5:25 AM
  3. Store - Determine if dirty?
    By Tbaseflug in forum 1.x Help
    Replies: 4
    Last Post: Dec 02, 2010, 1:29 PM
  4. Replies: 0
    Last Post: Sep 30, 2010, 9:37 AM
  5. Load user control on DesktopWindow open
    By Mohammad Yakub in forum 1.x Help
    Replies: 0
    Last Post: Jan 29, 2009, 8:49 AM

Posting Permissions