SetWindow()
Summary
Makes a window the currently active window.
Syntax
SetWindow(string window_name)
| Argument | Contents |
|---|---|
| window_name | String of the form "window type|window name," or "window name" if the window name is unique among the window types |
Notes
-
For more information on window types, see Windows.
Example
SetWindow("Map|My First Map")
SetWindow("Editor|Sales Dataview")
Error Codes
| Error Type | Meaning |
|---|---|
| NotFound | There is no window of the designated type and name |
See Also
| Function | Summary |
|---|---|
| GetWindows() | Gets a list of all the windows of a specified type |
| GetWindowName() | Gets the name of the current window |
| GetWindowType() | Gets the type of the current window |
| SetWindowPosition() | Sets the position of the window |
| SetWindowSize() | Sets the size of the specified or currently active window |
| SetMap() | Makes a map the current map |