Window Object Members
Project Developer Reference |
A Window object represents a window in the application or the project.
Methods
Name | Description | |
---|---|---|
Activate | Activates the object, bringing the window to the front of the z-order. | |
Close | Closes a pane or window. | |
Refresh | The description for this item will appear in the final release of Office 2007. | |
WebBrowserControlFrame | Returns the DOM object of a specified frame in the Web browser control window hosted inside the active window. | |
WebBrowserControlWindow | Returns the DOM object for the Microsoft Internet Explorer window loaded in the Web browser control that is hosted within the specified window in Project. |
Properties
Name | Description | |
---|---|---|
ActivePane | Returns a Pane object that represents the active pane of a window. Read-only. | |
Application | Returns an Application object. Read-only Object. | |
BottomPane | Returns a Pane object representing the bottom pane of a window. Read-only. | |
Caption | Returns or sets the text in the title bar of a project window. Read/write String. | |
Height | Returns or sets the height of a project window in points. Read/write Long. | |
Index | Returns the index of an object in its containing collection. Read-only Variant. | |
Left | Returns or sets the distance of a project window from the left edge of the main window in points. Read/write Long. | |
Parent | Returns the parent of the object. Read-only Object. | |
Top | Returns or sets the distance of a project window from the top edge of the main window (Window object) in points. Read/write Long. | |
TopPane | Returns a Pane object representing the top pane of a window. Read-only Object. | |
Visible | True if the object is visible. Read/write Boolean. | |
Width | Returns or sets the width in points of a project window in a Window object. Read/write Long. | |
WindowState | Returns or sets the state of all project windows (Window object). Can be one of the PjWindowState constants. Read/write Long. |