AlexanderBB
Well-known Member
- Joined
- Jul 1, 2009
- Messages
- 2,119
- Office Version
- 2019
- 2010
- Platform
- Windows
Is it possible to get/set the scroll position in a listbox?
My listbox allows the (same number of) list items to be changed. If the user has scrolled somewhere then invokes the change the list returns to the top item. I'd like the scroll position to remain where it was.
I did try using .selected(listIndex) but while that worked it meant you no longer click on that item, without moving away and back. That didn't feel right.
Using .selected(listIndex)= false sorted that, but loses the scroll position.
Is there any solution ? Thanks.
My listbox allows the (same number of) list items to be changed. If the user has scrolled somewhere then invokes the change the list returns to the top item. I'd like the scroll position to remain where it was.
I did try using .selected(listIndex) but while that worked it meant you no longer click on that item, without moving away and back. That didn't feel right.
Using .selected(listIndex)= false sorted that, but loses the scroll position.
Is there any solution ? Thanks.