Reflection Desktop VBA Guide
Attachmate.Reflection.Objects Library / Attachmate.Reflection.Objects.UserInterface Library / Frame Object / WindowLocation Property
Example
In This Topic
    WindowLocation Property
    In This Topic
    Gets or sets the application window's location.
    Syntax
    expression.WindowLocation As Point
    where expression is a variable that represents a Frame Object

    Property Value

    A Point object
    Example
    This sample displays the x and y coordinates of the upper left corner of the workspace window.
    Sub Sample_Frame_WindowLocation()
        Dim point As Attachmate_Reflection_Objects.point
        Set point = ThisFrame.WindowLocation
        MsgBox ("The x and y coordinates of the Reflection Desktop are: " & Str(point.x) & ", " & Str(point.y))
    End Sub
    See Also