M
Max Moor
Hi All,
I'm using my mousewheel to scroll a listbox on my form. The best way
I've found is to use the MouseWheel event to set the focus to the listbox.
It works fine, but if the focus is on any other control on the form, it
scrolls the information in the current record out (all the controls go
blank). I know I can stop this by setting AllowAdditions to No, but I need
it to be yes for the sake of some of the other code I have.
Is there a way to trap the current record on the form scrolling out
of view, and either stopping the scroll or scrolling it back?
I'm using my mousewheel to scroll a listbox on my form. The best way
I've found is to use the MouseWheel event to set the focus to the listbox.
It works fine, but if the focus is on any other control on the form, it
scrolls the information in the current record out (all the controls go
blank). I know I can stop this by setting AllowAdditions to No, but I need
it to be yes for the sake of some of the other code I have.
Is there a way to trap the current record on the form scrolling out
of view, and either stopping the scroll or scrolling it back?