QueryClose (NotesUIDocument - LotusScript®)

Occurs just before the current document is closed.

Defined in

NotesUIDocument

Syntax

QueryClose( 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

If backward compatibility is not an issue, OnUnload (introduced in Release 6) is preferred. QueryClose occurs before OnUnload if both are used.

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