Keep on top

Is there a way to keep an xWindow on top of all other windows? I open windows like JavaScript’s alert() and need them to stay in front of it’s “parent” window, and any others that may open while this alert is open.

Make it an option?


You can choose one of the following methods:

1) win.bringToTop();

the sample is dhtmlxWindows/samples/z-coordinate/z-position.html

2) win.setModal(true)


Right after I posted it, I found what I wanted: AlertWindow.stick();