ListView Item Focus problem
Posted on 2008-10-14
I have a ListView in my app that has approx 1000 lines in it.
On an event, I want to find a particular item, then focus on it to save having to manually scroll to it.
I have tried the following without success:
Dim iFocus as integer
iFocus = 556
listLoadedDetails.Items(iFocus).Selected = True
listLoadedDetails.Items(iFocus).Focused = True
For reference, the property "View" is set to "Details"
All help appreciated.