InfoConnect API Guide
Attachmate.Reflection.UserInterface Namespace / IUiMode Interface / GetControlById Method
ID of the item to retrieve.


In This Topic
    GetControlById Method (IUiMode)
    In This Topic
    Returns the first control that has the ID specified. Searches the current child items as well as all descendents.
    Syntax
    'Declaration
     
    
    Function GetControlById( _
       ByVal id As String _
    ) As IUiControl
    'Usage
     
    
    Dim instance As IUiMode
    Dim id As String
    Dim value As IUiControl
     
    value = instance.GetControlById(id)
    IUiControl GetControlById( 
       string id
    )

    Parameters

    id
    ID of the item to retrieve.

    Return Value

    Returns the control if it exists in as a descendent of the current control. If not, returns null.
    See Also