Forum Discussion
MarekFric
9 years agoOccasional Contributor
Hi Kriz. Everytime when I scroll down I'm checking if desired object is visibleOnScreen().
I use following code snippet for scrolling down:
while (!objFound)
{
obj = searchForDesiredObj(listView)
if (obj.Exists) {
objFound = true
return true
}
if (listView.canScrollVertically(1)) {
listView.smoothScrollByOffset(1)
listView.Refresh()
} else {
Log.Error("Cannot scroll down anymore.")
return false
}
}
Related Content
- 7 years agoswprabhu
- 2 years agoFrits
- 3 years agoStephenWoolhead
Recent Discussions
- 6 hours agomarkos