lachfoy
Topic Author
Posts: 6
Joined: 20 Feb 2024, 06:25

PageLeft and PageRight focus traversal

26 Apr 2024, 03:20

By default, Noesis uses PageLeft and PageRight to traverse focus previous and next.
In our game, we never want this behaviour. Is there a way to disable this behaviour?

Thanks
 
User avatar
sfernandez
Site Admin
Posts: 3005
Joined: 22 Dec 2011, 19:20

Re: PageLeft and PageRight focus traversal

29 Apr 2024, 12:29

PageLeft/Right keys are used to scroll pages in a ScrollViewer only. Apart from that we use GamepadPageLeft/Right to simulate Ctrl+Tab focus navigation, for example to change between tabs in a TabControl. Is this what you mean?

Anyway, if you need to override that behavior you need to handle those keys in the PreviewKeyDown of your page/window. Could you try that?
 
User avatar
jsantos
Site Admin
Posts: 3935
Joined: 20 Jan 2012, 17:18
Contact:

Re: PageLeft and PageRight focus traversal

29 Apr 2024, 13:21

If you are in Unity, you can also entirely disable keyboard in the view and enable actions to drive the navigation. This way you can redefine the inputs to your needs.
 
lachfoy
Topic Author
Posts: 6
Joined: 20 Feb 2024, 06:25

Re: PageLeft and PageRight focus traversal

01 May 2024, 01:14

we use GamepadPageLeft/Right to simulate Ctrl+Tab focus navigation, for example to change between tabs in a TabControl. Is this what you mean?
Yes, this is what I'm referring to (sorry I should have been more specific!). We have gotten around this issue by setting the attatched KeyboardNavigation properties TabNavigation and ControlTabNavigation to "None" on any controls where this is a problem.

Who is online

Users browsing this forum: Bing [Bot], Semrush [Bot] and 6 guests