Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Control click selection selected items + control drag select (Read 3149 times)
tjugg
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 12
Joined: Oct 20th, 2017
Control click selection selected items + control drag select
Feb 21st, 2018 at 8:19am
Print Post  
Hi,

Can I somehow override behavior like this:
I control click 3 symbols -> 3 symbols are selected.
I control + mouse drag over other 3 symbols -> now only these 3 new ones are selected.

Regards,
T
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3148
Joined: Oct 19th, 2005
Re: Control click selection selected items + control drag select
Reply #1 - Feb 21st, 2018 at 11:58am
Print Post  
Hi,

It seems that's how it works by default, I'm testing in the demo project. Check you aren't already overriding that by handling some selection events if it's different for you.

Regards,
Slavcho
  
Back to top
 
IP Logged
 
tjugg
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 12
Joined: Oct 20th, 2017
Re: Control click selection selected items + control drag select
Reply #2 - Feb 21st, 2018 at 12:08pm
Print Post  
Hi,

I took all custom behavior off and it still behaves like I wrote in the OP.

It works if I first drag select multiple nodes and THEN control click other nodes, but not the other way around. So control click 3 nodes -> 3 nodes selected -> control drag over 4 other nodes -> now 4 nodes selected

// T
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3148
Joined: Oct 19th, 2005
Re: Control click selection selected items + control drag select
Reply #3 - Feb 21st, 2018 at 12:25pm
Print Post  
Do you mean you need ctrl+drag to add to selection?
  
Back to top
 
IP Logged
 
tjugg
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 12
Joined: Oct 20th, 2017
Re: Control click selection selected items + control drag select
Reply #4 - Feb 21st, 2018 at 12:45pm
Print Post  
Yes
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3148
Joined: Oct 19th, 2005
Re: Control click selection selected items + control drag select
Reply #5 - Feb 22nd, 2018 at 8:16am
Print Post  
We have property for this in Windows Forms version, and will implement it in WPF for upcoming release -
https://www.mindfusion.eu/onlinehelp/flowchartnet/P_MindFusion_Diagramming_Selec...

Regards,
Slavcho
  
Back to top
 
IP Logged
 
tjugg
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 12
Joined: Oct 20th, 2017
Re: Control click selection selected items + control drag select
Reply #6 - Feb 22nd, 2018 at 10:17am
Print Post  
Okay, thanks for the information!

// t
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3148
Joined: Oct 19th, 2005
Re: Control click selection selected items + control drag select
Reply #7 - Feb 26th, 2018 at 9:32am
Print Post  
Hi,

Try setting following with this version -
https://mindfusion.eu/_beta/wpfdiag353.zip

diagram.ModifierKeyActions.Control = ModifierKeyAction.ExtendSelection;

The Selection.ExtendMode property is checked when using the SelectionOnly behavior and drawing lasso without Ctrl key.

Regards,
Slavcho
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint