disable mousescroll

Johny

Registered User.
Local time
Today, 15:41
Joined
Jun 1, 2004
Messages
80
hey,

I want to disable the use of mousescroll so users can't scroll through the records. Why I want to do this ya may ask:
Well, I use a listbox to display all the orders, when a user clicks an order, the details of that order are displayed.
The listbox has the same recordsource as my form, when an order is selected i set the bookmark of the form = bookmark of the listbox.
But the problem is that the user can still scroll though the other records :(

I want to use this method instead of just showing text that I fetch from the database when clicking an order, because I want to update some fields without clicking on the SAVE button.

Any ideas on this?

greetz,

Johny
 
Johny said:
I want to disable the use of mousescroll so users can't scroll through the records.

Do a search on mouse & lock as there is a big thread on this topic. Also, check the Sample Database section as I believe there's an example there too.
 
thanx for da replies, I used some code that was posted in da thread. And in the Form_Current event I set the setbookmark of the form = bookmark of the listbox (selected item).
 
Johny said:
thanx for da replies

posted in da thread.

in the Form_Current event I set the setbookmark of the form = bookmark of the listbox (selected item).

Shouldn't that last quote read: in da Form_Current event I set da setbookmark of da form = bookmark of da listbox (selected item).? :confused:

The is da bomb coz dis ain't da streets. ;)
 
Yea sorry for my bad english, I kinda talk english, dutch and bad (american?) language in one :)
 

Users who are viewing this thread

Back
Top Bottom