Forum Discussion
zelenskya
14 years agoOccasional Contributor
Hi, thanks for your answer!
I'm trying to drag tree nodes within the same control (ultre tree). So that I call Drag method for tree control: tree.Drag(X, Y, deltaX, deltaY)
where (X, Y) - source tree node coordinates (nodeDrag.Bounds.Left+nodeDrag.Bounds.Width/2; nodeDrag.Bounds.Top+nodeDrag.Bounds.Height/2);
(DeltaX,DeltaY) - the difference between destination tree node and source tree node. Tree nodes are properly identified and clicked - it can be seen during playback. So that I guess coordinates are correct.
I also tried to adopt your code for my script and it looks like no effect (I can't see any actions during playback).
I'm trying to drag tree nodes within the same control (ultre tree). So that I call Drag method for tree control: tree.Drag(X, Y, deltaX, deltaY)
where (X, Y) - source tree node coordinates (nodeDrag.Bounds.Left+nodeDrag.Bounds.Width/2; nodeDrag.Bounds.Top+nodeDrag.Bounds.Height/2);
(DeltaX,DeltaY) - the difference between destination tree node and source tree node. Tree nodes are properly identified and clicked - it can be seen during playback. So that I guess coordinates are correct.
I also tried to adopt your code for my script and it looks like no effect (I can't see any actions during playback).