ComboBox1.SelectedIndex += 1
If ComboBox1.SelectedIndex > ComboBox1.Items.Count - 1 Then
ComboBox1.SelectedIndex = 0
End If
with that code, i got this error : Invalid Argument=Value of "3" is not valid for "SelectedIndex". Parameter name: Selected Index, that error appear when last item reach.
This post has been edited by artemix22: 05 August 2012 - 10:22 PM

New Topic/Question
Reply



MultiQuote





|