InfoConnect for Unisys VBA Guide
Width Property
Gets or sets the width (in pixels) of the terminal window.
Syntax
Object.Width As Long

Property Value

The default value and the range of values vary depending on your monitor.

Reflection may adjust the height you specify for your terminal window to accommodate your monitor's size and resolution.

Example
This sample gets the window size and displays the height and width of the workspace window.
Sub Sample_Frame_WindowSize()
    Dim size As Attachmate_Reflection_Objects.size
    Set size = ThisFrame.WindowSize
    MsgBox ("The width of the Reflection Desktop is " & Str(size.Width) & " pixels" & " and the height is " & Str(size.Height) & " pixels")
End Sub
See Also

 

 


2015 Attachmate

Send Feedback