Examples: PostOpen event (NotesUIView - LotusScript®)

This PostOpen event opens the current document in edit mode when the view opens.

Sub Postopen(Source As Notesuiview)
  Dim ws As New NotesUIWorkspace
  Call ws.EditDocument
End Sub

See also the examples for PostPaste and QueryOpenDocument.