Reflection Desktop VBA Guide
Attachmate.Reflection.Objects Library / Attachmate.Reflection.Objects.UserInterface Library / UiMode Object / GetChildControlById Method
ID of the item to retrieve.
In This Topic
    GetChildControlById Method (UiMode)
    In This Topic
    Locates and returns the first instance of a control with a given control ID in current sub items and/or children of those items. If no control is found, null is returned.
    Syntax
    expression.GetChildControlById( _
       ByVal id As String _
    ) As UiControl object 
    where expression is a variable that represents a UiMode Object

    Parameters

    id
    ID of the item to retrieve.

    Return Value

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