Scroll custom event in VB.Net - TechRepublic
General discussion
April 1, 2003 at 04:38 AM
jas6062

Scroll custom event in VB.Net

by jas6062 . Updated 20 years, 7 months ago

I am using VB.Net and want to create a custom event. I have two list boxes, of the same size, that when I scroll one of them, I would like the other listbox to scroll too. In VB 6, there was a scoll event. Now in .Net, the SelectedIndexChanged event is the replacement, but requires the user to click inside of the list box. I would like it to change when the user clicks the vertical scroll bar. I believe that a custom event, “ScrollChanged”, would be a solution, but I do not know how to create it. Anyone know how to help please respond. Thank you.

This discussion is locked

All Comments