Eugen Fintina
Programmer
Hello, my friends!
I need to fire an action when user press "INS" key. I added the following code in KeyPress method of my form, but I got a strange behauvier. What's wrong in code?
Best regards,
Eugen
I need to fire an action when user press "INS" key. I added the following code in KeyPress method of my form, but I got a strange behauvier. What's wrong in code?
Code:
Do Case
Case nKeyCode = 22 [b][COLOR=#A40000]&& NOTHING HAPPENED[/color][/b]
Wait Window '"INS" key was pressed!'
Case nKeyCode = 162 [b][COLOR=#4E9A06]&& ALL IT'S OK[/color][/b]
Wait Window '"ALT + INS" key was pressed!'
Endcase
Best regards,
Eugen