Reflection Desktop VBA Guide
Attachmate.Reflection.Objects Library / Attachmate.Reflection.Objects.UserInterface Library / UiMode Object / GetControlById Method
ID of the item to retrieve
In This Topic
    GetControlById Method (UiMode)
    In This Topic
    Returns the first control that has the specified ID. Searches the current child items as well as all descendents.
    Syntax
    expression.GetControlById( _
       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 as a descendent of the current control. If not, returns null.
    See Also