LOTUSSCRIPT/COM/OLE CLASSES


Examples: Paste method
This button script cuts the contents of the current field and pastes them into the next field.

Sub Click(Source As Button)
 Dim workspace As New NotesUIWorkspace
 Dim uidoc As NotesUIDocument
 Set uidoc = workspace.CurrentDocument
 Call uidoc.SelectAll
 Call uidoc.Cut
 Call uidoc.GotoNextField
 Call uidoc.Paste
End Sub

See Also