Admin Production rocket
Current Publication

GetViewByControl Method

InfoConnect Desktop InfoConnect .NET API Guide V17.0
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.
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