NotesUIView (LotusScript®)

Represents the current view in the Notes® workspace.

Note: This class is not supported in COM.

Containment

Contained by: NotesUIWorkspace

Contains: NotesDocumentCollection, NotesView

Events

InViewEdit

Onblur

Onfocus

Onselect

PostDragDrop

PostEntryResize

PostOpen

PostPaste

QueryAddToFolder

QueryClose

QueryDragDrop

QueryEntryResize

QueryOpen

QueryOpenDocument

QueryPaste

QueryRecalc

RegionDoubleClick

Properties

CalendarDateTime

CalendarDateTimeEnd

CaretCategory

CaretNoteID

Documents

View

ViewAlias

ViewInheritedFrom

ViewName

Methods

Close

DeselectAll

Print

SelectDocument

Usage

The PostDragDrop, QueryDragDrop, PostEntryResize, QueryEntryResize, and RegionDoubleClick events and the CalendarDateTime and CalendarDateTimeEnd properties can only be used with calendar views. When designing standard views, these events are listed on the Objects tab in the Programmer's pane, but any code written within these events is ignored. Likewise, you cannot obtain CalendarDateTime and CalendarDateTimeEnd property values in a standard view.

Access

To access the current view:

  • Use the CurrentView property in NotesUIWorkspace.
  • Write a script that responds to a NotesUIView event. Use the source parameter of the event to access the properties and methods.

Example