Forum Discussion
irina_lukina
13 years agoSuper Contributor
Hi Darya,
As far as I understand, your question is: which object will be returned by the FindChild method if there are several objects (on different levels) that correspond to the search criterion? In this case, the FindChild method will iterate through the objects hierarchy tree from the specified parent object and will return the first found object that meets the specified criterion.
To improve the search (so that it finds the needed object but not the first found), I'd recommend that you specify a more detailed search criterion or change the search depth used by the method.
I hope this is what you were looking for :)
Related Content
- 12 months agosanket2799
- 9 months agoRichardPla
- 3 years agoaaronpliu
Recent Discussions
- 2 hours agoSubhraDas
- 21 hours agotramuntana