Reflection Desktop VBA Guide
Attachmate.Reflection.Objects Library / Attachmate.Reflection.Objects.UserInterface Library / Frame Object / Activate Method
Example
In This Topic
    Activate Method
    In This Topic
    Activates the application and gives it focus.
    Syntax
    expression.Activate() 
    where expression is a variable that represents a Frame Object
    Example
    In this example, Reflection runs minimized until data is received from the host, at which time the Reflection Workspace returns to its normal size and becomes the active window.
    Sub WaitMinimized()
     
      With ThisFrame
         .WindowState = FormWindowState_Minimized
        
          ThisScreen.WaitForIncomingData3 5000, True
         .WindowState = FormWindowState_Normal
         .Activate
      End With
     
    End Sub
    See Also