Rocket® InfoConnect Desktop (formerly a product of Micro Focus or formerly a product of Open Text) documentation, created before Rocket Software acquired certain products from OpenText, may include outdated references to "Micro Focus" or "OpenText", both of which are trademarks of OpenText or its affiliates. Rocket Software is not affiliated with Micro Focus or OpenText and has since rebranded these products as Rocket® products. You may also encounter outdated links in this documentation. If you do, please contact Rocket Support (support@rocketsoftware.com) for assistance.
WindowSize Property
In This Topic
Gets or sets the application window's size.
Syntax
expression.WindowSize As Size
where expression is a variable that represents a Frame Object
Property Value
A Size object that defines the height and width of the workspace. When the workspace is set to the Ribbon user interface mode, the minimum height is 600 pixels and the minimum width is 800 pixels. None of the other user interface modes have minimum values.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 InfoConnect Desktop is " & Str(size.Width) & " pixels" & " and the height is " & Str(size.Height) & " pixels") End Sub
See Also