3
I’m working on a App for Android using the Delphi XE8 and I need to synchronize two Listviews so that when the user downloads one, the other download together.
How do I do it in Delphi?
3
I’m working on a App for Android using the Delphi XE8 and I need to synchronize two Listviews so that when the user downloads one, the other download together.
How do I do it in Delphi?
1
If you use a version higher than Delphi XE 8, click on Events listview1 and then click on the event OnScrollViewChange
and adds the following code:
Listview2.ScrollViewPos := Listview1.ScrollViewPos;
Done that from this moment whenever you touch the list 1 the list 2 will do scrool to the same location as the first.
Browser other questions tagged delphi listview
You are not signed in. Login or sign up in order to post.
Do you store this information in an Fdmemtable?... use the Bindigs to make the call so this information appears in Listview?... try to be clearer when asking the question.
– Jefferson Rudolf
You don’t need to know this to know how to sync two list views. I passed on the necessary information. EDIT: To be clear, I meant synchronizing the current position, Y, Index, and not data between the two. Maybe in that I haven’t been clear.
– Diego Bittencourt
Sorry, I’m trying to help you and to reformulate the question, for better understanding and for the forum.
– Jefferson Rudolf
All right :) maybe I haven’t given enough details anyway. Next time I will try to be more detailed, who knows helps better those who are looking for similar solutions
– Diego Bittencourt