A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

mouse wheel question



 
 
Thread Tools Display Modes
  #1  
Old December 28th, 2006, 06:59 PM posted to microsoft.public.access.forms
Gary
external usenet poster
 
Posts: 1
Default mouse wheel question

I have a bound form that moves to a new record when the mousewheel is
moved up or down.
(I am using Access 2000). I need to check that a field on a combobox is
not blank before the user scrolls to a new record. So, when the user
scrolls his/her mouse wheel, I want to display a messagebox that says
"you can't move to a new record until you select something from this
combobox".
- but -
I can't seem to capture the "mouse wheel scroll" event. Does this event
exist?
- or -
What event can I use (just before user leaves the record to bring up a
new one into the form)?
Thanks -
Gary

  #2  
Old December 28th, 2006, 08:16 PM posted to microsoft.public.access.forms
vivi
external usenet poster
 
Posts: 35
Default mouse wheel question

Try this one by Stephen Lebans. It helps.

http://www.lebans.com/mousewheelonoff.htm

"Gary" wrote:

I have a bound form that moves to a new record when the mousewheel is
moved up or down.
(I am using Access 2000). I need to check that a field on a combobox is
not blank before the user scrolls to a new record. So, when the user
scrolls his/her mouse wheel, I want to display a messagebox that says
"you can't move to a new record until you select something from this
combobox".
- but -
I can't seem to capture the "mouse wheel scroll" event. Does this event
exist?
- or -
What event can I use (just before user leaves the record to bring up a
new one into the form)?
Thanks -
Gary


  #3  
Old December 28th, 2006, 08:43 PM posted to microsoft.public.access.forms
dragos
external usenet poster
 
Posts: 4
Default mouse wheel question


Gary wrote:
I have a bound form that moves to a new record when the mousewheel is
moved up or down.
(I am using Access 2000). I need to check that a field on a combobox is
not blank before the user scrolls to a new record. So, when the user
scrolls his/her mouse wheel, I want to display a messagebox that says
"you can't move to a new record until you select something from this
combobox".
- but -
I can't seem to capture the "mouse wheel scroll" event. Does this event
exist?
- or -
What event can I use (just before user leaves the record to bring up a
new one into the form)?
Thanks -
Gary



Check:
http://support.microsoft.com/kb/278379

Also Mr. Lebans has his own library (does not require register, because
it is not an activex or com). For Mr. Lebans version check:
http://www.lebans.com/mousewheelonoff.htm
You can also learn a lot from this site.

Cheers!
Dragos

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:45 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.