The NEW Build Your Own Arcade Controls
Main => Software Forum => Topic started by: Nightmare03 on January 25, 2004, 07:41:39 pm
-
I was wondering, is it possible to have 2 listboxes in visual basic and when you scroll on the one box, it makes the other one scroll in the same direction?
-
what are you trying to do?
In order for something like that to even be possible each list would have to have the same amount of items. If that is the case maybe you want to use a ListView instead.
-
Yeh they would be a equal amount in each box.
-
After the user selects an item in the listbox, query what number item he selected. Then select that same number item in the other list box.
If you are wanting them to both scroll syncronously in realtime... then... don't ask me.
-
again, what are you trying to do? I'm sure there is a better way.
-
Nightmare03 did you visit fe.donkeyfly.com? That is the place for this kindof stuff really...
-
Nightmare03 did you visit fe.donkeyfly.com? That is the place for this kindof stuff really...
Agreed, this isn't the vb help forum, this is byoac. (Actually neither is fe.mamehost, but i guess it's close enough.)
-
I was wondering, is it possible to have 2 listboxes in visual basic and when you scroll on the one box, it makes the other one scroll in the same direction?
It's easy.
Create List1 and List2
In List1 scroll event type this
List2.TopIndex = List1.TopIndex
Thats it. When you scroll list 1, list 2 will scroll.