Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

scrolling two listviews at the same time

Status
Not open for further replies.

bjwade62

Programmer
Oct 31, 2002
15
US
Anyone know how to scroll through the contents of two listviews at the same time with only one scroll bar? Synced.
 
You would have to put code in the scroll event of the list box. Something like

list2.listindex = list1.listindex

I don't think that will highlight the selected item so you'd have to do that as well but something along those lines should be fine. Mark

The key to immortality is to make a big impression in this life!!
 
Hmmm... That might work with a listbox control but I'm using a listview control.

Thanks anyway,
Bernie
 
Hi guys,

I'm wondering the same thing. I've got two listviews with identical columns and I want to scroll both views when the user scrolls one of the listviews horizontal scrollbars. Any ideas?

-graabein
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top