WebControl.Closed
From Xojo Documentation
Event
The control has been removed from the browser either because the page has closed or the control's Close method was called.
The control has been removed from the browser either because the page has closed or the control's Close method was called.