OnUnload (NotesUIDocument - LotusScript®)

Occurs just before the current document is closed.

Note: This event is new with Release 6.

Defined in

NotesUIDocument

Syntax

OnUnload( Source as NotesUIDocument, Continue as Variant )

Parameters

Source

NotesUIDocument. Read-only. The current document.

Continue

Boolean. Read-write. Indicates whether or not the document will close. Initially set to True. Set this parameter to False if you do not want to close the document.

Usage

When you create a script that responds to this event, Domino® creates the syntax of the event for you (including the parameters). You do not need to type it in.

Example