How can i change TabIndex from “tab” to “enter” for all forms in my win application. I know i can use event for every textbox like:
If (Keys.Enter Then) {
SendKeys.Send("{TAB}")
}
but i don’t want to do this 1000 times. Can i make this by default for all textboxes and forms?
You can try to enable forms KeyPreview property. Then you’ll be able to handle keystroke before controls get it