Lutz Schoder schrieb: > Hi all, > > I'm porting an application to Qooxdoo and have following problem: > > Every window (parent window) has a menu to open other windows (child > windows) according the loaded entity to display detail information. The > parent window has references to its opened child windows and every child > window holds a reference to the parent. > Now my question: How can I bring the parent window to top? There is a > button on the child window to perform this action but I don't now how I > can bring the parent to top. I'm missing a method like "bringToTop()" on > the Window class. > > To bring a window to top you need to use the window manager. The window manager is associated with a desktop class, to which the window was added.
You can use something like this: var manager = win.getLayourParent().getWindowManager(); manager.bringToFront(win); Best Fabian -- Fabian Jakobs JavaScript Framework Developer 1&1 Internet AG - Web Technologies Ernst-Frey-Straße 9 · DE-76135 Karlsruhe Telefon: +49 721 91374-6784 [email protected] Amtsgericht Montabaur / HRB 6484 Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver Mauss, Jan Oetjen Aufsichtsratsvorsitzender: Michael Scheeren ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
