SetEditorView()
Summary
Changes the view and set of records displayed in an editor.
Syntax
SetEditorView(string editor_name, string view_bar_set)
| Argument | Contents |
|---|---|
| editor_name | The name of the editor, or null for the current editor |
| view_bar_set | The view and set to be displayed in the editor |
Notes
-
Currently, an editor can only be changed to show a different set on the view that is currently displayed.
-
SetEditorView() does not change the current view; use SetView() to change the current view.
Example
SetEditorView(, "States|Selection") // Show a selection set...
SetEditorView(, "States|") // Show all records...
Error Codes
| Error Type | Meaning |
|---|---|
| NotFound | The specified view and set do not exist |
See Also
| Function | Summary |
|---|---|
| GetEditorView() | Gets the name of the view and selection set that are displayed in an editor |
| CreateEditor() | Creates a new editor window |