Hi, all.

I create some windows. Then select  first window, but last window is
selected.
Code:
for (var i in something){
   window creation;
}

this.__desktop.setActiveWindow(first);

Something like that. And it's not working.

But if i write like that:

setTimeout(function() {
   this.__desktop.setActiveWindow(first);
}, 0);

All right. And first window is selected.

I don't understand how it's work.

Help, please.


--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Problem-with-window-selection-tp6384913p6384913.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to