Admin Production rocket
Current Publication

WindowLocation Property

Reflection Desktop VBA Guide V18.0.2
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