R
rmiller1985
I've got a listbox that's populated with table/query data. There are a LOT
of records that go into this list box -- around 14k records at the moment --
and I believe the way the listbox is being populated is the cause of a
problem.
When I scroll down a page, the scroll bar goes halfway down the scroll bar
box. Then when I scroll down again, it goes halfway to the bottom again.
Another scroll, halfway again. By clicking and dragging the scroll bar, I
can get all the way to the bottom of the scroll bar box -- but when I
release, it immediately pops back up again.
I'm guessing that this behaviour indicates that the list is being populated
"on the fly," i.e., with each scroll, instead of being populated all at once
before the control is displayed.
Is there any way to change the behaviour so that the list is populated
before being displayed? Having to scroll incrementally (I can't think of a
better term at the moment) instead of being able to scroll from top to bottom
or anywhere in between immediately is a bit tedious with so many records.
(If you're thinking a list box probably isn't the best choice here, I agree.
But I've "inherited" the application, and modifying it substantially isn't
an option currently.)
Thanks,
Rich
of records that go into this list box -- around 14k records at the moment --
and I believe the way the listbox is being populated is the cause of a
problem.
When I scroll down a page, the scroll bar goes halfway down the scroll bar
box. Then when I scroll down again, it goes halfway to the bottom again.
Another scroll, halfway again. By clicking and dragging the scroll bar, I
can get all the way to the bottom of the scroll bar box -- but when I
release, it immediately pops back up again.
I'm guessing that this behaviour indicates that the list is being populated
"on the fly," i.e., with each scroll, instead of being populated all at once
before the control is displayed.
Is there any way to change the behaviour so that the list is populated
before being displayed? Having to scroll incrementally (I can't think of a
better term at the moment) instead of being able to scroll from top to bottom
or anywhere in between immediately is a bit tedious with so many records.
(If you're thinking a list box probably isn't the best choice here, I agree.
But I've "inherited" the application, and modifying it substantially isn't
an option currently.)
Thanks,
Rich