Normally when pressing the TAB key you change the focus to the next control in the given tab order. I would like to prevent that and have the TAB key do something else. In my case I’d like to change focus from a combobox to a completely different control. I can’t do this by setting the tab order. I need to do this programatically. Any idea how? It seems like the KeyDown and KeyPress events can’t handle TAB key correctly.
Thanks.
Normally when pressing the TAB key you change the focus to the next control
Share
Override
ProcessDialogKeyorProcessTabKeyon your Form and do the logic you want depending on which control is focused.