Page 1 of 1

Fixed TCursorTool

Posted: Wed Oct 20, 2010 12:05 pm
by 10552786
Hi,

I want to draw a vertical line in the middle of a specific bar of a TBarSeries but I want this line to be fixed. For that I have used a TCursorTool and set its Style property to cssVertical but I haven't find any property or event that allows me to disable the drag & drop feature of this tool. Is it possible to disable this feature or should I draw my line on TBarSeries.Canvas instead?

Thx in advance for your feedback.

Re: Fixed TCursorTool

Posted: Wed Oct 20, 2010 1:48 pm
by 10552786
I just saw that the TColorLine has an AllowDrag property so I used this tool instead of TCursorTool and it does what I want.

Re: Fixed TCursorTool

Posted: Wed Oct 20, 2010 3:42 pm
by yeray
Hi optima,

I'm glad to hear that you've solved it.