I have a form that is working perfectly except that when you select an item from one of the multiselect listboxes on the form, the scrollbar on the form stops working.
Any suggestions???
I have a form that is working perfectly except that when you select an item from one of the multiselect listboxes on the form, the scrollbar on the form stops working.
Any suggestions???
Incoming speculation! Correct me if needed, but it sounds like your mouse wheel doesn't scroll when the listbox has focus. I assume when you click the up or down arrow on the scroll bar of the form it works. I'm speculating your issue to be that your mouse wheel works on the listbox when it has focus and on the form when it (or a non scrollable control) has focus. That's a bit tricky, but does your form scroll with the wheel when your mouse pointer is NOT on the listbox. Perhaps you need to click "off" the listbox control to get mousewheel working properly.
Call me Christina Richee cuz imma reachin'!
Great speculation!
It is the mouse. How do I handle "the focus" on a form with 7 listboxes so that it will work smoothly?
Appreciate any suggestions!
TIA!
Think about it. How does Access "Know" what to scroll? It scrolls what currently has the focus. If a listbox has the focus and there are not enough rows to show a scroll bar, nothing on the form will scroll.
I designed each list box so that there are no scroll bars. They are multiselect and each box shows the actual list of choices.
Good design. Do you still have a question or do you understand the conditions causing the mouse to not scroll the form when a listbox has the focus?I designed each list box so that there are no scroll bars. They are multiselect and each box shows the actual list of choices.
Is there a way to get the focus back once you are out of the listbox area?
If you are "out of the listbox area", I assume you mean something else has the focus. Usually the way to change the focus with a mouse is to click on something else. You can also tab out of a listbox if another control on the form has a tabstop set.
If you want to scroll the form, just click the scroll bar on the form. Then the form has the focus.