Results 1 to 14 of 14

Thread: (RESOLVED)when vb listboox1.selecteditem hits the last item listbox1.selectedindex=0

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2010
    Posts
    56

    (RESOLVED)when vb listboox1.selecteditem hits the last item listbox1.selectedindex=0

    Private Sub ListBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBox1.SelectedIndexChanged

    If ListBox1.SelectedIndex = (last item) Then
    Me.ListBox1.SelectedIndex = 0

    End If
    End Sub
    Last edited by TD5X; Mar 16th, 2011 at 02:49 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width