Sub OnClose(Sender: Object; Args: IEventArgs);
Begin
//set of operators;
End Sub OnClose;
Sender - parameter that returns the component that has generated the event.
Args - parameter that enables the user to determine event parameters.
The OnClose event occurs right before form closing after execution of the OnCloseQuery event. It is usually used to change the standard behavior of the form on closing.
See also: