Hello!
I created a user event on a datawindow using pbm_dwnkey.
The idea is to test all characters the user enters in order to accelerate the edition. This works fine.
But there is a litle problem: with some combination of actions, suddenly the argument named "keyflags" is set to 1, just like if the user pressed the "SHIFT" key (but he did not!)
Then, the state of "SHIFT" remains as if the user continuousely pressed it. Not only in the event scipt, but for the whole system (if I quit my application, the shift key remains pressed, until I manualy press on it on the keyboard!)
My question: Is there a way to reset the shift state to default (i.e NOT pressed) ?
THANK YOU FOR YOUR HELP
I created a user event on a datawindow using pbm_dwnkey.
The idea is to test all characters the user enters in order to accelerate the edition. This works fine.
But there is a litle problem: with some combination of actions, suddenly the argument named "keyflags" is set to 1, just like if the user pressed the "SHIFT" key (but he did not!)
Then, the state of "SHIFT" remains as if the user continuousely pressed it. Not only in the event scipt, but for the whole system (if I quit my application, the shift key remains pressed, until I manualy press on it on the keyboard!)
My question: Is there a way to reset the shift state to default (i.e NOT pressed) ?
THANK YOU FOR YOUR HELP