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


In This Topic
    GetChildControlById Method (IUiMode)
    In This Topic
    Returns the child control that has the specified ID.
    Syntax
    'Declaration
     
    
    Function GetChildControlById( _
       ByVal id As String _
    ) As IUiControl
    'Usage
     
    
    Dim instance As IUiMode
    Dim id As String
    Dim value As IUiControl
     
    value = instance.GetChildControlById(id)
    IUiControl GetChildControlById( 
       string id
    )

    Parameters

    id
    ID of the item to retrieve.

    Return Value

    Returns the control if it exists in the child collection. Returns null if the control is not in the child collection.
    See Also