WindowState Property [Window]
WindowState returns or sets the state of the window (i.e. minimized). Returns a SrfWindowState.
Syntax
object.WindowState
object.WindowState = State
Parameter |
Type |
Description |
State |
required |
Example 1
This example demonstrates how to return the state of a window.
Debug.Print Window.WindowState
Example 2
This example demonstrates how to maximize a window.
Window.WindowState = srfWindowStateMaximized
Example 3
This script displays all the methods and properties in the Window object.
Used by: Window object