zelenskya
14 years agoOccasional Contributor
Drag action fails from time to time
Hello!
I'm using Drag action for dragging nodes of Infragistic ultratree control. It works fine during debug & mostly fails during playback.
I've tried to set delay before Drag action execution and also played with Project delays (dragging delay, etc.) - nothing works.
Please, advise. Thanks!
In my script I do the following:
1. Select start node and finish one, expand them if necessary (works stable).
2. Get nodes' bounds.
3. Calculate start/finish points (left+width/2;top+height/2).
4. Calculate moving distance.
5. Call Drag action applying it to tree control.
I'm using Drag action for dragging nodes of Infragistic ultratree control. It works fine during debug & mostly fails during playback.
I've tried to set delay before Drag action execution and also played with Project delays (dragging delay, etc.) - nothing works.
Please, advise. Thanks!
In my script I do the following:
1. Select start node and finish one, expand them if necessary (works stable).
2. Get nodes' bounds.
3. Calculate start/finish points (left+width/2;top+height/2).
4. Calculate moving distance.
5. Call Drag action applying it to tree control.