- SingingBard
- Posts: 5
- Joined:
Is it possible to completely disable the tab button from changing focused control?
My game uses tab as a hotkey for something else. I would like to completely disable the Noesis functionality of having it switch focused control. It's very disorienting to have it keep moving the focus all around the UI when I am trying to target something.
-
sfernandez
Site Admin
- Posts: 2995
- Joined:
Re: Is it possible to completely disable the tab button from changing focused control?
You can hook to PreviewKeyDown event and set e.handled to true for the Tab key, that way keyboard navigation will ignore it and focus won't be affected.
Could you try that?
Could you try that?
- SingingBard
- Posts: 5
- Joined:
Re: Is it possible to completely disable the tab button from changing focused control?
That worked - Thanks!
-
sfernandez
Site Admin
- Posts: 2995
- Joined:
Re: Is it possible to completely disable the tab button from changing focused control?
Great, marking this as solved.
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 18 guests