CloseEditor()

Summary

Closes an editor window.

Syntax

CloseEditor(string editor_name)

Argument Contents
editor_name The name of the editor, or null for the current editor

Notes

  • CloseEditor() closes the editor window without executing the Close() macro.

  • CloseEditor() closes the view if it is no longer in use.

  • If there is a Done macro, it is called after the editor window is closed.

Example

CloseEditor("Sales Report for June")

Error Codes

Error Type Meaning
NotFound The specified editor does not exist

See Also

Function Summary
CreateEditor() Creates a new editor window
OpenEditor() Creates an editor from a file
SaveEditor() Saves an editor to a file