ListView: Programmatically scroll to Y

AresLazarusAresLazarus USMember ✭✭

Hello all!

My problem is that I need to make two ListView controls to scroll in unison. So far I haven't been able to find a satisfying solution by using their ScrollTo(object,scrollPosition) in an ItemAppearing event handler, as this requires the entire height of the item renderer to be moved off-screen before it fires, leaving the other list immobile for the duration.

Ideally I would have liked a ListView/ScrollTo(x,y) method, but that seems to be only to be found on a ScrollView control at the moment.

Perhaps there is a way to gain access to a ScrollView component inside the ListView by using .FindByName() ?

Sign In or Register to comment.