Forum Discussion

pashooo's avatar
pashooo
Contributor
14 years ago

FindChild by "content" property

I used FindChild by ClrClassName. It's workin)



When I tried FindChild by Content:

 * aqObject.CheckProperty(select_scene.FindChild("Content", "scene", 3))

 ... I have got an error:

"Wrong number of arguments or invalid property assignment "

Is it possible to find child by it's content? ... or may be I make ane syntax error?



 



 

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor
    The error, in this case, is not on the FindChild but on the CheckProperty call.  That method has multiple parameters but you're only passing in one parameter, the object.