InfoConnect for Unisys VBA Guide
GetObject(String) Function
The object moniker used to get the object.
Gets an object by its object moniker.
Syntax
object.GetObject( _
   ByVal objectMoniker As String _
) As Object

Parameters

objectMoniker
The object moniker used to get the object.

Return Value

The object.
Remarks
Objects represent major functional areas. Currently, Frame is the only supported object moniker. See each supported object's documentation for its moniker.
Example
The following example shows how to get the Frame object:
Sub MaximizeWorkspace()
'Dimension a frame variable
Dim f As Attachmate_Reflection_Objects.Frame
            
'Get the running frame object
Set f = Application.GetObject("Frame")
f.WindowState = FormWindowState_Maximized
End Sub
See Also

 

 


2015 Attachmate

Send Feedback