I am writing a program where you need to use the "left" and "right" keys. You need to choose the correct answer and toggle the key "left" or "right" to go to another question. Everything works, only there is one problem, when you press a key from the keyboard, it first switches the value of radioButton
', and only then goes to another question.
Is it possible to set some property for radioButton
'so that it does not respond to the keyboard?