Send comments on this topic.
GetChildControlById Method
Attachmate.Reflection.Objects Library (User Interface) > UiMode Object : GetChildControlById Method
id
ID of the item to retrieve.
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

 
object.GetChildControlById( 
   ByVal id 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.

See Also