Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic DelKeyAction works weird (Read 2229 times)
Waterfiets
Junior Member
**
Offline


I Love MindFusion!

Posts: 78
Joined: Sep 27th, 2013
DelKeyAction works weird
Oct 2nd, 2013 at 1:31pm
Print Post  

Hi there,

In the project I'm working on I've created a diag:NodeListView and a diag:Diagram. In the NodeListView i have added a Node which i can drop to the diag:Diagram - which works fine. In the diagram settings there is an option for DelKeyAction and I have put this option to DeleteSelectedItems.

The weird thing however, is that when i select the node with the left mouse button and press on the delete button; nothing will happen. But when i select the node again, but now while pressing the node with my right mouse button and press on the delete button; it seems to work.

Am i doing something wrong or is it supposed to work like this?

Thanks in advance.

Greets,

Sander
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: DelKeyAction works weird
Reply #1 - Oct 2nd, 2013 at 1:45pm
Print Post  
Hi,

If the diagram is inside a ScrollViewer, set <ScrollViewer Focusable="False">. Otherwise it takes the keyboard focus for itself upon left clicks.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Waterfiets
Junior Member
**
Offline


I Love MindFusion!

Posts: 78
Joined: Sep 27th, 2013
Re: DelKeyAction works weird
Reply #2 - Oct 2nd, 2013 at 1:59pm
Print Post  
Hi Stoyan,

It works, thanks!

Greets,

Sander
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint