Scrolling in a list box

G

Guest

Hi,

I have two list boxes of the same size and the same number of items in them.
The number of items is big, so to accommodate them the list boxes display
vertical scroll bars.
I want to synchronize the vertical scrolling of these two list boxes, so
when one of them is scrolled by the user, the other is scrolled as well so
they are both at the same scroll position.
How can I do this?
I looked for some sort of scroll event that would tell me the position of
the scroll bar but I could not find anything. There was a similar example in
"Programming VB6" by Francesco Balena, but a "Scroll" event is used there,
which we dont have in .NET ( at least I cant find it)

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top