Window Object
The Window object is the base object for several objects (PlotWindow, WksWindow, and GridWindow). The properties and methods of this object are available to any object derived from the Window object.
The following table provides all properties of the Window object :
Property |
Description |
Returns the active state of the window. This is a read-only property. |
|
Returns the Application object. Its a read-only property. |
|
Returns the caption of the window. It is a read-only property. |
|
Returns the document associated with this window. It is a read only property. |
|
Returns/sets the height of the window. |
|
Returns the 1-based index of this window in the Application windows collection. It is a read only property. |
|
Returns/sets the coordinate for the left edge of the window. |
|
Returns the parent object. It is a read only property. |
|
Returns/sets the coordinate for the top edge of the window. |
|
Returns the type of this window. It is a read only property. |
|
Returns/sets the width of the window. |
|
Returns/sets the state of the window. |
The following table provides all the methods of the Window object :
Method |
Description |
Activates the window. |
|
Closes the window. |
*default property
Example
This script displays all the methods and properties in the Window object.