I create a new window with the following code.
CodesWindow = wins.createWindow(
When I include anything in the onClose function the window will not close when clicking on the close button.
Using pro version 3.5
What is your “sb” object?
It is the status bar. Trying to set the text.
I believe I have found the answer. I needed to add “return true;” to the function.
So, we need completed demo to test it and help you.
docs.dhtmlx.com/doku.php?id=othe … leted_demo
Please, create it and attach.
onclose event is cancelable, you need “return true” to allow closing