In web client I have a dialog which I open and the user can then update info on another form.
Problem is the user can exit the dialog by clicking on the cross top right corner, is there a way to detect this so I can reverse any changes they made elsewhere or alternatively remove the cross so I can add my own button which they are forced to click which I can then run my code.
Not sure if I’ve done this correctly. In the 2nd form that is started by a showforninDialog I added the onHide however it is not triggered when I click the cross top right corner… the form simply closes without a trigger.
Form B then has a tabpanel with another form, say Form C within the tabpanel. This form C issues the openForminDialog of the frm_tasks which I pasted above.
I was going to say that this is working as well (for me).
The thing is, when closing browser windows you won’t get notified of hide - because that is tricky to detect.
So for example if you close form B (that is an actual browser tab/window that contains the frm_tasks dialog) then no hide event will be triggered.