LOTUSSCRIPT/COM/OLE CLASSES


Clear method
Example

Deletes the current selection from a document. The current selection can be anything in an editable field, such as text or graphics.

Defined in

NotesUIDocument

Syntax

Call notesUIDocument.Clear

Usage

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

The selection is not copied to the clipboard. If you want to remove the selection and place it on the clipboard, use the Cut method.

Error

If nothing is selected, you get an error: "Document command is not available."

Language cross-reference

@DeleteField function in formula language

@IsUnavailable function in formula language

EditClear @command in formula language

Clear @command in formula language

Example
See Also