ListView1.ListItems(5).Selected = true
ListView1.SetFocus
(5) is the row to be selected. YOu cold also use a KEY if present
John G
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 4 of 4
Thread: Select item in listbox via codeThreaded View
|
Click Here to Expand Forum to Full Width |