Page Index Toggle Pages: 1 [2]  Send TopicPrint
Hot Topic (More than 10 Replies) Dragging of Node from one group to another (Read 9317 times)
Bala
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 156
Joined: Apr 21st, 2009
Re: Dragging of Node from one group to another
Reply #15 - May 13th, 2009 at 1:26pm
Print Post  
Hi Stoyan,
I have tried GetPosition method of the System.Windows.Input.Mouse class. When I select some nodes and move them into Group, I get mouse point of that place, where I released the selected nodes.I have converted this mouse position to relative diagram position using ClientToDoc method;

Now when I going to check how many nodes are there in this mouse position, I am getting only one Node Instead of two. First one should be the selected node and the second one should be that group node which is behind this selected node.

I hope, now you have the clear idea about problem. Please suggest something to allow multiple items Drop in a group and vice versa.

Thanks,
Bala
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Dragging of Node from one group to another
Reply #16 - May 16th, 2009 at 8:47am
Print Post  
Call just  Mouse.GetPosition(diagram.DocumentPlane), without using ClientToDoc.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Bala
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 156
Joined: Apr 21st, 2009
Re: Dragging of Node from one group to another
Reply #17 - May 18th, 2009 at 2:20pm
Print Post  
Stiil unable to get two nodes at this position.
Mouse Cordinates are also (0,0).
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Dragging of Node from one group to another
Reply #18 - May 19th, 2009 at 8:09am
Print Post  
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint