anandmar24
11 years agoOccasional Contributor
To FindChild programmatically with Property Not Equal To specific Value
Hi All,
I have a parent object with 2 similar childern differentiated by WndCaption property. One has Blank and other has value. I need to find the child which has some value (that is not blank). How can we find this child object?
One way is, finding all the Children using FindAllChildren and then looping between them. Is there any other direct way to use the condition in FindChild?
I have a parent object with 2 similar childern differentiated by WndCaption property. One has Blank and other has value. I need to find the child which has some value (that is not blank). How can we find this child object?
One way is, finding all the Children using FindAllChildren and then looping between them. Is there any other direct way to use the condition in FindChild?
- This may work (haven't tried it): "*?*"
Specifies any single character with any leading or trailing characters.