InPreviewPane (NotesUIDocument - LotusScript®)

Read-only. Indicates whether the document is being accessed from the preview pane.

Defined in

NotesUIDocument

Data type

Boolean

Syntax

To get: flag = notesUIDocument .InPreviewPane

Legal values

  • True indicates that the document is being accessed from the preview pane .
  • False indicates that the document was opened by the user.

Usage

If the preview pane is open in a view, the script has access to the document when the user highlights it in the view and it appears in the preview pane. This property lets you know that the document is being accessed in this manner, rather than an explicit open.

Example