Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15589

help with this listbox index

$
0
0
Code:

For i = 0 To ListBox3.Items.Count - 1
            For j = 0 To ListBox4.Items.Count - 1
                If ListBox3.SelectedIndex Then
                    ListBox4.SelectedIndex = ListBox3.SelectedIndex
                    Me.Text = ListBox3.SelectedIndex
                End If


            Next
        Next

listbox1
aaaaaaaa
zzzzzz
cccccc
vvvvvv

listbox2
alllllllllllllll
zzzzzzzz
cccccccccc
vvvvvvvvv

listbox1 index 0 dont work others do how come.

when i select listbox1 index 0 then listbox4 select index 0
just select the same index not by name but by index.

Viewing all articles
Browse latest Browse all 15589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>