Page 1 of 1

OnDragDrop and OnEndDrag

Posted: Sun Apr 01, 2007 11:24 pm
by 9532498
What is the difference between the two TChart events
DragDrop and EndDrag?

Posted: Mon Apr 02, 2007 7:27 am
by narcis
Hi nbp,

OnDragDrop event occurs when the user drops an object being dragged. Use the OnDragDrop event handler to specify what happens when the user drops an object. The X and Y parameters are the coordinates of the mouse positioned over the control.

OnEndDrag event occurs when the dragging of an object ends, either by dropping the object or by canceling the dragging. Use the OnEndDrag event handler to specify any special processing that occurs when dragging stops.