GetEditorView()

Summary

Gets the name of the view and selection set that are displayed in an editor.

Syntax

view_bar_set = GetEditorView(string editor_name)

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

Returns

A string specifying the view and set (separated by a vertical bar) of the records currently displayed in the editor.

Example

vbs = GetEditorView()
pieces = SplitString(vbs)
if pieces[2] = null then ShowMessage("The editor is not displaying a set.")
else ShowMessage("The editor is displaying set: " + pieces[2])

Error Codes

Error Type Meaning
NotFound The specified editor does not exist.

See Also

Function Summary
SetEditorView() Changes the view and set of records displayed in an editor
CreateEditor() Creates a new editor window