- Code: Select all
function onSolutionClose_event()
{
application.output('onSolutionClose_event');
return(globals.allowExit);
}
The form has a single button that changes the variable globals.allowExit to true from the initial setting of false.
It works when in the smart client. You cannot exit the solution by pressing the X icon in the top right corner of the solution window.
The solution exits immediately when in the web client and the X icon is pressed.
I have tried this in the developer and on the server with the same results. What would cause the event to not trigger when in the WC?
Servoy: 4.1.5
JRE: 1.6.0_18-b07
Windows XP SP2
Your feedback is appreciated!