Search found 9 matches
- 07 Nov 2016, 13:12
- Forum: General Discussion
- Replies: 15
- Views: 3975
Re: Using EventTriggers gives error
Well, it is inherited from FrameWorkElement. After meddling around the issue disappeared, but it reappared after commenting <local:InvokeCommand x:Name="enterCommandInvoker" Command="{Binding EnterCommand}" CommandParameter="{Binding ElementName=rect}"/> and uncommenting. Simply creating a new scene...
- 03 Nov 2016, 16:29
- Forum: General Discussion
- Replies: 15
- Views: 3975
Re: Using EventTriggers gives error
What you have to make sure is that the xaml is correctly processed (without errors) after the InvokeCommand class is compiled and available in the assembly. How can I make sure it is compiled and available? I don't get any error/warning to the NoesisGUIPanel component or the console. Rebuilding fro...
- 02 Nov 2016, 10:02
- Forum: General Discussion
- Replies: 15
- Views: 3975
Re: Using EventTriggers gives error
Hey, it worked for a while. I had placed the files not in Assets/InvokeCommandTest folder and wondered if it would work after moving them to that folder. For some reason it started working after moving. Then I tried to confirm this by moving them away from that folder, and it still worked (?). But n...
- 31 Oct 2016, 16:14
- Forum: General Discussion
- Replies: 15
- Views: 3975
Re: Using EventTriggers gives error
Hey, thanks for the reply. Now it's defined in Blend. For some reason the command doesn't fire though. I put the InvokeCommand.cs in Assets.GloryAssets.Scripts.GUI.NoesisCommands namespace: xmlns:commandou="clr-namespace:Assets.GloryAssets.Scripts.GUI.NoesisCommands" namespace Assets.GloryAssets.Scr...
- 25 Oct 2016, 13:35
- Forum: General Discussion
- Replies: 15
- Views: 3975
Re: Using EventTriggers gives error
Hey, thanks for the reply. I can successfully use the rectangle and trigger the MouseEnter event. However, in Blend I can't use this part: <InvokeCommand x:Name="enterCommandInvoker" Command="{Binding EnterCommand}" CommandParameter="{Binding ElementName=rect}"/> "The type InvokeCommand was not foun...
- 20 Oct 2016, 10:50
- Forum: General Discussion
- Replies: 15
- Views: 3975
Re: Using EventTriggers gives error
Hey,
is it possible to use commands with the WPF EventTriggers?
is it possible to use commands with the WPF EventTriggers?
- 19 Oct 2016, 14:54
- Forum: General Discussion
- Replies: 15
- Views: 3975
Using EventTriggers gives error
Hi, we are in need to get MouseEnter and MouseExit from buttons or their images with id parameter. These buttons live in an ItemsControl. I have tried using System.Windows.Interactivity namespace to use Triggers, but with little luck. If I use Trigger it gives me this error: NoesisException: Resourc...
- 27 Sep 2016, 09:38
- Forum: General Discussion
- Replies: 5
- Views: 2115
Re: NoesisGUI blocking clicks?
Hi, we're using primarily if (Input.GetKeyUp(KeyCode.Mouse0)) clicks while in OnMouseOver(). What baffles me is that we get to OnMouseOver() but the mouse input is not handled at all. For testing I tried also OnMouseDown() which also doesn't work if NoesisGUIPanel is active. Both click methods start...
- 26 Sep 2016, 16:20
- Forum: General Discussion
- Replies: 5
- Views: 2115
NoesisGUI blocking clicks?
Hello,
I have an issue with receiving mouse clicks in Unity's game world. However, for some reason OnMouseEnter() and OnMouseExit() work normally. Whenever I disable NoesisGUIPanel the clicks work again. What could be the problem?
I have an issue with receiving mouse clicks in Unity's game world. However, for some reason OnMouseEnter() and OnMouseExit() work normally. Whenever I disable NoesisGUIPanel the clicks work again. What could be the problem?