I create a new window with the following code.
CodesWindow = wins.createWindow(
{
id:“CodesWindow”,
x:30,
y:55,
width:200,
height:300,
center:true,
onClose:function()
{
sb.setText(“”);
return;
}
})
When I include anything in the onClose function the window will not close when clicking on the close button.
Using pro version 3.5