InfoConnect for Unisys VBA Guide
WindowState Property
Gets or sets the application window state. The window state can be Normal, Minimized, or Maximized.
Syntax
Example
This sample maximizes the workspace window.
Sub Sample_Frame_WindowState()
    Dim ret As Integer
    ret = MsgBox("Maximize the Reflection Desktop window?", vbYesNo)
    If ret = vbYes Then
        ThisFrame.WindowState = FormWindowState_Maximized
    Else
        ThisFrame.WindowState = FormWindowState_Normal
    End If
End Sub
See Also

 

 


2015 Attachmate

Send Feedback