Forum Discussion

andnov's avatar
andnov
New Contributor
4 years ago
Solved

ListView Items invisible, thus cannot be activated

During the past week, a number of ListView access points have broken. No changes were done to the tested software, and the scripts run fine on a different computer running the same suite.

 

When trying to access a ListView item, we now get the error message:

The list view is invisible and thus cannot be activated.

 

Here is a sample, with descriptions of each line:

 

Aliases...BCGPControlBar.BCGPTabWnd.Refresh()
Aliases...BCGPControlBar.BCGPTabWnd.SetFocus()
Aliases...BCGPControlBar.BCGPTabWnd.ListView.Refresh()
Aliases...BCGPControlBar.BCGPTabWnd.ListView.SetFocus()
Log.Error(Aliases...BCGPControlBar.BCGPTabWnd.ChildCount)
Aliases...BCGPControlBar.BCGPTabWnd.ListView.DblClickItem("Sample Item", 0)

 

 

The first three lines are fine. When setting focus on the ListView, the error shows up. When attempting to double click the item, the error shows up again. Although consistent in terms of when this error shows up, it's not consistent in the sense that all ListViews are broken.

 

What's the best fix for this? Running latest version of TC.

2 Replies