| Window |  |  |
Window Object

| |

 |
Documents property, read-only, Object. v1.3
Returns a Documents object that represents the collection of all open documents. Each document in the collection is represented by a Document object.
|

| |

 |
Height property, read/write, Long.
Returns or sets the height of the application window.
The Height property gets or sets the distance in pixels between the top and bottom edge of the main application window.
|

| |

 |
hWnd property, read-only, Long.
Returns the handle (HWND) of the main application window.
|

| |

 |
Left property, read/write, Long.
Returns or sets the horizontal position of the application window.
The Left property gets or sets the distance in pixels between the left edge of the screen and the main application window.
|

| |

 |
State property, read/write, VpWindowState.
Gets or sets the state of the application window.
Can be one the following VpWindowState constants:
vpWindowStateNormal = 0, vpWindowStateMaximized = 1, or vpWindowStateMinimized = 2.
|

| |

 |
StatusText method ( Text As String, [Color] ).
Prints a text in the Status bar.
Text A text string to be printed.
Color (Optional) A Long that specifies the background color of the text.
The following VBScript example prints in red a number of shapes in the scene.
n = StdProtos("Shape").Instances.Count
Window.StatusText "There are " & n & " shapes in the scene", &h0040FF
|
|

| |

 |
Top property, read/write, Long.
Returns or sets the vertical position of the application window.
The Top property gets or sets the distance in pixels between the top edge of the screen and the main application window.
|

| |

 |
Visible property, read/write, Boolean.
True if the application window is visible.
The following Visual Basic example starts VrmlPad, opens an existing document and makes the VrmlPad main window visible.
Set doc = New VrmlPad.Document
doc.OpenFile "C:\My Scenes\Home.wrl"
doc.Window.Visible = True
|
|

| |

 |
Width property, read/write, Long.
Returns or sets the width of the application window.
The Width property gets or sets the distance in pixels between the left and right edge of the main application window.
|

|
|
|