Auto scroll

gooden

Active member
Joined
May 18, 2007
Messages
32
Programming Experience
Beginner
Well i have one problem that i hope you guys can help me with your experience.

so the problem is that i have 2 listbox and 1 vscrollbar that like you guys know is a control that comes with the visual studio.

in the 1 listbox i have 10 items. and the scrollbar i want to disable it. in the listbox2 the same thing.

well what i want is to use the vscrollbar like a scroll for the 2 listboxs i have :)

example :p




Glad if you could Help :)
Gooden
 
If both listboxes have the same number of items then you could set the max scroll bar to the number of items and then when the Scroll bar value changes you select that item in both listboxes. I think that selecting an item will automatically scroll to that item.
 
hmmm... that is a good ideia..... but can i put a checkbox in a listview?? and can you make a example or like that
 
Here is a screenshot of what you can do with a listview. Mind you I only modified properties at design time for this. You can also do it programmatically though.
 

Attachments

  • listviewExample.jpg
    listviewExample.jpg
    12.4 KB · Views: 35
yes i know :) i got a code at a website that generate programili the listview.

I know how to work with that +/-. :p Ty For your help :)
 
Back
Top