ListBox 'misbehavior'

  • Thread starter Thread starter djc
  • Start date Start date
D

djc

I don't know whats going on with my list boxes. Sometimes the scroll bar
just does not work! I can click a list item and then use the keyboard to go
through them but the scroll bar does nothing? Other times it works fine? I
don't think this is an issue with my code however I could be wrong?

has anyone else seen this?
 
The listbox scroll bar functions in two different ways when you drag the position indicator, depending on whether the whole
list has been loaded or not. If the list has been completely loaded, you may drag the scroll bar and the list will scroll
simultaneously. If the list has not been completely loaded, it will wait until you release the mouse button before attempting
to scroll the list. Is that what you're experiencing?

You can force the listbox to completely load the list by looking up the ListCount using VB code.

i = [ListBox].ListCount

I don't know whats going on with my list boxes. Sometimes the scroll bar
just does not work! I can click a list item and then use the keyboard to go
through them but the scroll bar does nothing? Other times it works fine? I
don't think this is an issue with my code however I could be wrong?

has anyone else seen this?

Jeremiah Ellison
Ellison Enterprises - Your One Stop IT Experts
 
Back
Top