dhtmlxWindow onClose event

Hello,

when I define either a personal or global onClose event on the window, clicking on the “x” on the window does not close it. the event fires but window does not close.

This is true for samples demo
[url]http://dhtmlx.com/docs/products/dhtmlxWindows/samples/04_events/05_onclose_event.html[/url]

Please advise

Kris

There is “return false” command. If you delet it - window will close and destruct

Sorry, my bad did not see that.

Thanks as always!

You are welcome! :slight_smile: