[Solved] TDragPointTool - Cancel dragging
Posted: Wed Aug 29, 2007 4:03 pm
Hi,
I have a fast line serie with a drag point tool asociated to it and I would like to allow only de last point of the series to be dragged, not just any point of it.
I am using the event OnDragPoint of the tool to capture the point being dragged and in the OnMouseUp event of the TChart I do the rest.
Is there any way to "cancel" or "undo last drag" if the dragged point is not the last one?. I can't realise how to do that.
Thanks in advance.
Edit: I am using TeeChart 7.0 Source Code.
I have a fast line serie with a drag point tool asociated to it and I would like to allow only de last point of the series to be dragged, not just any point of it.
I am using the event OnDragPoint of the tool to capture the point being dragged and in the OnMouseUp event of the TChart I do the rest.
Is there any way to "cancel" or "undo last drag" if the dragged point is not the last one?. I can't realise how to do that.
Thanks in advance.
Edit: I am using TeeChart 7.0 Source Code.