How to synchronize two TListViews?

2
I'm working on an App for Android using Delphi XE8 and I need to synchronize two ListViews so that when the user downloads one, the other one downloads together.

How do I do this in Delphi ?

    
asked by anonymous 31.08.2016 / 02:08

1 answer

1

If you use a version higher than Delphi XE 8, click on the events of listview1 and then click on the event OnScrollViewChange and add the following code:

Listview2.ScrollViewPos := Listview1.ScrollViewPos;

Once you've made it into List 1, list 2 will scrool to the same location as the first.

    
29.08.2017 / 18:16