I am trying to figure out how to select the best matched item. this is what i got so fare, but it only find the exect one:
vb Code:
Dim Itms As ListViewItem = ListView1.FindItemWithText(TextBox1.Text, True, 0, False) If Not (Itm Is Nothing) Then ListView1.Items(Itms.Index).Selected = True ListView1.EnsureVisible(Itms.Index) ListView1.Focus() Else MessageBox.Show("No Items Where Found In The List") End If




Reply With Quote