Search found 9 matches

by lachfoy
20 May 2024, 01:09
Forum: General Discussion
Replies: 3
Views: 199

Re: Best Practices for Navigation Between Views

In WPF wouldn't this typically be handled in a Window with Pages? Does Noesis support that?

An example for that kind of thing could be really valuable.
by lachfoy
17 May 2024, 04:15
Forum: General Discussion
Replies: 0
Views: 76

Sound triggers for custom controls

Hi, I'm trying to hook up UI sounds to my custom controls, but I'm having a few issues. Firstly, the screen I'm implementing looks like this: A custom tab control contains two tab items, and each tab item has a list box inside it. The main purpose of the tab control is to implement code behind for s...
by lachfoy
09 May 2024, 02:23
Forum: General Discussion
Replies: 5
Views: 327

Re: PageLeft and PageRight focus traversal

Using the TabNavigation properties didn't work as well as I'd hoped. A new problem that I've just encountered is that trying to move focus programmatically with FocusNavigationDirection_First does not work when the TabNavigation property is set to "None". In any case, handling those keys i...
by lachfoy
01 May 2024, 01:14
Forum: General Discussion
Replies: 5
Views: 327

Re: PageLeft and PageRight focus traversal

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 p...
by lachfoy
26 Apr 2024, 03:20
Forum: General Discussion
Replies: 5
Views: 327

PageLeft and PageRight focus traversal

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
by lachfoy
04 Apr 2024, 05:41
Forum: General Discussion
Replies: 3
Views: 422

Re: ListBox vs StackPanel of Buttons

Thanks @sfernandez and @nadjibus for the help, I appreciate it.

I think this approach will work fine for me :)
by lachfoy
15 Mar 2024, 06:17
Forum: General Discussion
Replies: 3
Views: 422

ListBox vs StackPanel of Buttons

Consider a settings/options menu, where I have a list of items. Some of the buttons are toggle buttons, some are sliders, etc. I want to show a description for each option and an image that shows what that option does, so I'd like to have a property for the selected option. In the quest log sample, ...
by lachfoy
20 Feb 2024, 23:25
Forum: General Discussion
Replies: 3
Views: 133

Re: Visual states are not running storyboards within a control template

Hi, thanks for the reply :) The version of NoesisGUI that I am using is 3.1.5. I'm changing the selected tab by modifying the SelectedIndex property directly in code behind, with focus disabled on the tab items themselves. Currently I've got blend set up to listen to key presses for left and right w...
by lachfoy
20 Feb 2024, 06:36
Forum: General Discussion
Replies: 3
Views: 133

Visual states are not running storyboards within a control template

Hi, I've run into an issue where I cannot run storyboards on a tab item as I switch their selected state. This code snippet functions as expected within blend -- the selected tab item turns red when changing visual states. However, in native noesis the storyboards are not run when changing visual st...