Forum Discussion

bo_roop's avatar
bo_roop
Contributor
8 years ago

Need C# syntax for ChildObjectName inside of a WaitChild event

The online help shows me this:   if (Obj["WaitChild"](ChildObjectName, 0)["Exists"])   What I want to do is use ["Panel"](2) as my child object's name... but I can't figure out the syntax to set ...
  • tristaanogre's avatar
    tristaanogre
    8 years ago

    Try changing from FindChild to FindChildEx with an additional parameter for timeout (see my example above)