Here's the scenario. I have a TElXTree with DragAllowed=true, and Multiselect is false.
Not all items are draggable, so the OnCanDrag event should filter them out.
Now, if the user attempts to drag an item that's not draggable, odd things happen:
He clicks on the item and starts dragging. OnCanDrag is called, and returns false.
Now, without releasing the mouse, he continues his drag 'attempt' over another item in the tree, which *is* draggable.
OnCanDrag for this item returns true, and *that* item starts being dragged.
Surely OnCanDrag shouldn't be called a second time unless he releases the mouse button first?
So far, I've tried and failed to make a small example with this.
Comments