MouseHook.dll doesn't work with subforms

W

Wolfgang Wirner

Hello there,

I already used the MouseHook.dll without problems. Now I have
redesigned my Frontend to use subforms instead of a big tabcontrol. I
placed a subform on my mainform and in the change event of the
tabcontrol i link the subform to the needed subform like following:

Private Sub register_Change()
...
frmSubform.SourceObject = "Needed Subform"
frmSubform.LinkChildFields = "ID"
...
End Sub

But in this case, if the subform has the focus, the MouseWheel scrolls
through the recordset. The MouseWheel on the mainform is suppressed
like it should be.


Thanks for any help!
Wolfgang
 
S

Stephen Lebans

It does not select a record but merely scrolls through the recordset as
if you were clicking on the Subform's Vertical Scrollbar. This is the
behaviour requested by the majority of users.

But enough is enough, I have added an optional parameter to the calling
function allowing you to turn off the MouseWheel completely for
SubForms. I have not posted it yet to my Web site but if you go to my
site's Feedback page and leave your Email adddress I will send you the
new DLL.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top