When you have several controls, normally you can switch the focus simply by arrow keys. But in my current case this is undesired.
How to disable such focus switching? I already have set TabIndex
to -1
.
When you have several controls, normally you can switch the focus simply by arrow keys. But in my current case this is undesired.
How to disable such focus switching? I already have set TabIndex
to -1
.
Handle KeyDown event for the form and set e.Handled = true when the key is Tab. Set KeyPreview = true for the form.