Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Drag drop functionality (Read 1586 times)
zoozoo
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 20
Joined: Jun 24th, 2009
Drag drop functionality
Jun 30th, 2009 at 10:04am
Print Post  
Hi,

i have implemented the a diagram with treelayout. aslo have implemented the drag rop of control noes on the lines of TreeLayout sample. but in my case sometimes after i drop the control node the tree is reconstructed but the mouse appears clicked and on moving it around it selects the existing nodes on the tree..

any halp around this
thanks in advance
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Drag drop functionality
Reply #1 - Jun 30th, 2009 at 11:58am
Print Post  
Hi,

This might happen if the control receives a MouseDown message. Try setting diagram.Behavior = DoNothing when starting a drag operation and restore it to its original value when drag-and-drop completes.

Stoyan
  
Back to top
 
IP Logged
 
zoozoo
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 20
Joined: Jun 24th, 2009
Re: Drag drop functionality
Reply #2 - Jul 1st, 2009 at 2:40am
Print Post  
Thanks Stoyan ! Setting the bahaviour correctly solved the issue .
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint