Admin Production rocket
Current Publication

GetViewByControl Method

Reflection Desktop .NET API Guide V17.1
Rocket® Reflection Desktop (formerly a product of Micro Focus or formerly a product of Open Text) documentation that was created prior to Rocket Software's acquisition of certain products from OpenText may contain outdated references to "Micro Focus” or “OpenText”, which are trademarks of OpenText. Rocket Software is not affiliated with Micro Focus or OpenText and has rebranded these products as Rocket® products.
Terminal control
GetViewByControl Method
In This Topic
Gets the view that is associated with a terminal control.
Syntax

                     
                     
'Declaration
 

                     
                     
Function GetViewByControl( _
   ByVal control As Object _
) As IView

                  

                     
                     
'Usage
 

                     
                     
Dim instance As IFrame
Dim control As Object
Dim value As IView
 
value = instance.GetViewByControl(control)

                  

                     
                     
IView GetViewByControl( 
   object control
)

                  

Parameters

control
Terminal control

Return Value

The View that matches the specified terminal control, if any.
See Also