Link Search Menu Expand Document

Object.FindChild Method

Explanation Finds a child object with the specified name.

Added since Ver.4.0.0
Additional functions after Ver.4.1.2---> If the class identifier for name is specified, the object of the specified class is searched. <--- Up to here

Not supported on mobile
Call format obj.FindChild( name )
Return value None
Arguments String name or Class identifier
Exception None
Example of use
    /* Search by object name */
var child = FindChild("TEST");
if (child != null) {
    child.Value = "Hello";
}
 
/* Search by class */
var form_obj = FindChild(Form);
if (form_obj != null) {
    form_obj.BgColor = $WHITE;
}
 
Related item GetChildObjects method