Form.addOnClosing

Overview | Methods | This Package | All Packages

Form.addOnClosing

Assigns a delegate to the closing event.

Syntax

public final void addOnClosing( CancelEventHandler value )

Parameters

value

The CancelEventHandler delegate to be notified when the event occurs.

Remarks

The closing event occurs as the form is closing. If you cancel this event, the form does not close.

See Also   removeOnClosing