R
Rikard Blomberg
I am using a multi-select listbox to show the results from a query in my
application. This is done like:
listbox.RowSource = strSQL
listbox.Requery
when I get a result-set that has more rows than ehat fits my listbox I get a
vertical scroll-bar. The problem occurs when the user clicks on or drags the
scroll-bar. The scroll bar doesn't seem to know how many entries there are in
the list resulting in a "jumping" behaviur, for example if the user drags the
"elevator icon" of the scroll bar to the bottom it will typically jump up to
the middle of the bar. Repeating the dragging action will slowly get the
"elevator" icon lower. Once the user reached the bottom of the scroll-bar the
problems are gone and the scroll bar seems to be working perfectly. Calling
requery again makes the problem return.
Anyone knows how to get around this problem?
Thanks
/Rikard
application. This is done like:
listbox.RowSource = strSQL
listbox.Requery
when I get a result-set that has more rows than ehat fits my listbox I get a
vertical scroll-bar. The problem occurs when the user clicks on or drags the
scroll-bar. The scroll bar doesn't seem to know how many entries there are in
the list resulting in a "jumping" behaviur, for example if the user drags the
"elevator icon" of the scroll bar to the bottom it will typically jump up to
the middle of the bar. Repeating the dragging action will slowly get the
"elevator" icon lower. Once the user reached the bottom of the scroll-bar the
problems are gone and the scroll bar seems to be working perfectly. Calling
requery again makes the problem return.
Anyone knows how to get around this problem?
Thanks
/Rikard