In Access 2007 form if any of my listboxs has a focus, I can;t scroll my form up or down. To do that I have to move the focus to any other control except the listbox, and by the way all of my listboxs have only 4 items on it with no scroll bar, I just need to use my mouse scroll wheel to scroll up or down my whole form even if my listbox has a focus.
I have found the following code that is used to disable the listbox scroll, but I couldn't test it because I can't see any event named (mousewheel) in my listbox events list.
Private Sub ListBox1_MouseWheel(ByVal sender As System.Object, _
ByVal e As System.Windows.Forms.MouseEventArgs) _
Handles ListBox1.MouseWheel
Dim disable As HandledMouseEventArgs = e
disable.Handled = True
End Sub
Also I don't know if that code will force my form to use its scroll instead of the listbox scroll. Any suggestions?