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.
object.GetChildControlById( _
ByVal As String _
) As _UiControl
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.