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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|