Forum Discussion
shankar_r
Community Hero
Tree View object has a property called Expended/wExpended using this you can do like below,
if(Aliases.App.win_MainWindow.treeView.WaitProperty("Expended or wExpended",true,10000)){ Log.Message("Tree view loaded"); }
AlexKaras
6 years agoChampion Level 3
Hi,
Another possible approach is to find something that indicates wheter or not yet the given node is expanded. E.g. .ChildCount > 0, SomeChildItem.Exists, etc.
Then, after the node is commanded to expand, wait in a loop (within some reasonable timeout) until the condition that indicates successful expansion is met.
Related Content
- 10 months agolodecesa
- 13 years agovthomeschoolmom