Forum Discussion
Could we see your code, showing the drop down that works and the one that doesn't?
That definitely sounds like a timing issue. You're trying to interact with a component that sounds like it's in the middle of a refresh or resize process triggered by your selection on the first component.
In this case, I don't think the standard "trick" of using custom time outs or WaitNNN methods will work. You may need to use some more deliberate checking, adding some sort of "while" loop to wait until the property of the drop down in question meets the requirements. Something like
while (MyObject.Width < 1) {
Delay(1000);
}
It's kind of rough and dirty... better code would add an escape clause to kill out of the loop if a counter increases beyond a certain amount. But, essentially, after you execute your first drop down, you need to wait a period of time before you attempt to interact with your second one. There are quite a few ways to implement this, mine is just one example.