Assigns a delegate to the closing event.
public final void addOnClosing( CancelEventHandler value )
value
The CancelEventHandler delegate to be notified when the event occurs.
The closing event occurs as the form is closing. If you cancel this event, the form does not close.
See Also removeOnClosing