Send comments on this topic.
WindowState Property
Attachmate.Reflection.Objects Library (User Interface) > Frame Object : WindowState Property
Gets or sets the application window state. The window state can be Normal, Minimized, or Maximized.

Syntax

 
Object.WindowState As FormWindowState

Example

This sample maximizes the workspace window.
Copy Code
Sub Sample_Frame_WindowState()
    Dim ret As Integer
    ret = MsgBox("Maximize the Reflection Workspace window?", vbYesNo)
    If ret = vbYes Then
        ThisFrame.WindowState = FormWindowState_Maximized
    Else
        ThisFrame.WindowState = FormWindowState_Normal
    End If
End Sub

See Also