I have a form that is suppose to only show one new record. This main
form is set for data entry. The main form has a tab control on it
with several tabs..the tabs are types of people associated with this
account. On the tab for main person, there can only be one. If a
user starts to enter a main user then touches their mouse scroll it
looks like they haven't entered the main person, so they start
entering another main person. This is because the mouse scroll
advanced it to a new person record. Two main people makes a mess. I
only put the mouse hook on one form at a time I just wanted you to
know that I had tried putting it on the main form and on the subform
on the tab. In trying to use the mouse hook I did realize that it's
working on the main form but not on the sub form... I also realized
that I don't need a subform for the main person since there is only
one per case, so I'm probably need to completely re-work this form,
just didn't want to do that if not necessary. Wanted to make sure
that I was understanding what you were saying and what I was reading
on your website. I really appreciate you taking this much time with me
and I appreciate that most people would want the subform to scroll.
I'm not suggesting that you build it any other way then the way it
works now. Me building better forms, using more indexes and using your
function should accomplish what I need.
Thanks again for helping so many of us.
Debbie
"Stephen Lebans" <Fo****************************************@linval id.com> wrote in message news:<gn*********************@ursa-nb00s0.nbnet.nb.ca>...
The MouseHook processes the MouseWheel messages for SuForm controls that
have a Visible ScrollBar. In other words the MouseWheel still works for
SubForms as this is the behaviour requested by the majority of users.
WHy is this an issue for you?
--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.