VB.NET Pilih teks dalam kotak daftar
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
Dim i As Integer = ListBox1.FindString(TextBox1.Text)
ListBox1.SelectedIndex = i
If TextBox1.Text = "" Then
ListBox1.SelectedIndex = -1
End If
End Sub
Curious Cassowary