J
Jay
Hi all,
I'm working on implementing a 'Reset' button on my form. All the controls
on the form reset properly, but I can't find a way to reset the scrolled to
position of a listbox.
To reset the listbox I've used lstItem.Value = 0
This works to clear all the selected items in the list. However, the scroll
position does not change. I'd like to set the position of the scroll bar
back to the top when I reset the form.
If anyone has any idea how I can do this, I'd appreciate it.
Also (as a bonus question) if anyone knows how to autosize column widths in
a list box, pass it on. I'm using A97 and it's not a property.
Thanks,
Jay
I'm working on implementing a 'Reset' button on my form. All the controls
on the form reset properly, but I can't find a way to reset the scrolled to
position of a listbox.
To reset the listbox I've used lstItem.Value = 0
This works to clear all the selected items in the list. However, the scroll
position does not change. I'd like to set the position of the scroll bar
back to the top when I reset the form.
If anyone has any idea how I can do this, I'd appreciate it.
Also (as a bonus question) if anyone knows how to autosize column widths in
a list box, pass it on. I'm using A97 and it's not a property.
Thanks,
Jay