ChrisMac
13 years agoContributor
SetFocus producing an error in the log report.
Hello -
I have a class/control called UltraListView that I select items from. Unfortunately, the only way I can get TC to click an item within is to use a SetFocus method like:
Aliases.catalogUltraListView.SetFocus
The minor downside is in the log after the script has run there is an error listed: "The window cannot get focus."
So, TC is telling me that the SetFocus method failed, yet it succeeded in that TC was able to select an item in the UltraListView control because of the use of SetFocus. What I'd like to do is either surpress the error message or find an alternate to SetFocus. Thanks in advance.
Chris