Hello to all,
I have the following issue to resolve in any possible way: during modifications in customer cards in Nav 2009 the users complain about the errors they make when they accidentally use the mouse wheel and without realizing that the customer record has changed they insert values that belog to another customer. :?
So my question: is there a way to avoid mouse wheel scrolling in NAV?
I mean in case you are in a specific form (example customer card) and the user accidentally uses the wheel scroll, the record on the customer form must not change!
Let me know if it's possible or if there are any suggestions by making a customizzed automation or whatsoever
Thank you very much
0
Comments
Add a tablebox and fill the form property TableBoxID.
Object Manager
It works but we have a problem: in that way we disable the next/previous buttons as well, and that doesn't have to happen, I only want to disable the mouse wheel scroll
Any other suggestions?
Regrds
You can try modifying the registry through code:
Source: http://technet.microsoft.com/en-us/libr ... 78628.aspx
I just wanted to know if it was possible or if anybody had any suggestions, if nobody has never done this before, so ok, no problem.
Then concerning to your suggestion that means disabling the mouse wheel always on any type of application but I didn't ask for that type of suggestion, what I would like should be valid only for NAV.
However, thank you for your time and if someone has some other suggestions I will appreciate them.
Regards
I wrote the following code but received the error attached, do have any suggestions to correct what I've done wrong?
//LatmWshShell-Automation-'Windows Script Host Object Model'.WshShell-
//LvVAR1-Variant--
//LvVAR2-Variant--
//LvVAR3-Variant--
CREATE(LatmWshShell);
LvVAR1 := 'HKEY_CURRENT_USER\Control Panel\Desktop';
LvVAR2 := '0';
LvVAR3 := 'WheelScrollLines';
//Write
LatmWshShell.RegWrite(LvVAR1, LvVAR2, LvVAR3);
Thanks alot
I even created this code to try it out:
I must have too much time :-$
I tried using your code, I don't receive the errore anymore (thanks again for that), but the mousewheel continues to work, I've tried using values -1,0,1,2 etc.. but nothing never gets disabled..note that I try to disable it on the OnOpenForm trigger and then I able it again in the OnCloseForm
Did it work for you?
Thank you