Help➡️ Selecting items for a listview D: (search items)

Posts 1–3 of 3 · Page 1 of 1
Close it pls, i finish with it
The same code is te fix >.<

Code:
Private Sub Button1_Click_1(sender As Object, e As EventArgs) Handles Button1.Click
        ProcessList.MultiSelect = False
        ProcessList.FullRowSelect = True


        Dim checkInt As Integer = FindItem(ProcessList, TextBox1.Text)
        If checkInt <> -1 Then
            ProcessList.Items(checkInt).Selected = True

            MsgBox("found")
            ProcessList.Focus()

        Else
            Label1.Text = "Search string not found"
        End If

    End Sub
I'm not too sure what you're trying to achieve, but the past tense of "Find" is "Found", not "Founded".
Keep that in mind (:
Sorry, i speak spanish not english :P BUT THANKS I´LL KEEP IT

Edit: i just want to select a listview item by the index >.<
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us