I have a textbox and a listview. When you start typing in the textbox, it searches through the listview and highlights the first item that matches.
I use .ensurevisible to make sure the item is on the screen.
This all works fine, except that the highlighted item appears at the bottom of the listview. I'd like it to automatically scroll the listview so that the matching item is the first item visible in the listview.
Any idea how to achieve this? I have tried lots of things, but nothing seems to work, so I"m happy to give maximum points to whoever can give me a solution!