Selecting Item in ListView Box
Posted on 2002-05-03
I have a search button that I want to search the first column of a listview box. Once it finds it, I want that row in the listview box highlighted. Here's what I got so far which works, but does not highlight.
intX = 1
Do Until ListView1.SelectedItem = Trim(txtSearchDDA.Text)
ListView1.SelectedItem = ListView1.ListItems.Item(intX)
intX = intX + 1