InsertText (NotesUIDocument - LotusScript®)

Inserts a text value at the current cursor position on a document.

Defined in

NotesUIDocument

Syntax

Call notesUIDocument .InsertText( textValue$ )

Parameter

textValue$

String. The value you want to insert.

Usage

This method is valid only when the document is in Edit mode.

When the user clicks on a button, the focus changes to the button. In this case, you must explicitly set the focus to the desired position on the document.

Example