DialogBoxCanceled (NotesUIDocument - LotusScript®)

Read-only. Indicates whether a user cancels a dialog.

Defined in

NotesUIDocument

Data type

Boolean

Syntax

To get: flag = notesUIDocument .DialogBoxCanceled

Legal values

  • True indicates that the user exited the dialog by clicking Cancel or pressing ESC.
  • False indicates that the user exited the dialog by clicking OK.

Usage

You can access this property when the NotesUIDocument processes the QueryClose event from a document that has been brought up in a dialog. You can bring up the document through either the DialogBox method of NotesUIWorkspace, or through the @DialogBox function.

Example