GetChildControlById Method (UiMode)
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.
expression.GetChildControlById( _
ByVal 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.