Page 1 of 1

Suggestion: Make dragging a TColorLine easier for touch

Posted: Tue Oct 28, 2014 12:16 pm
by 16567885
You can do a lot of cool stuff with a TColorBandTool. Drag it around, resize it, whatever. As long as you have a mouse it works flawlessly.
TColorBand_Cursor.png
TColorBand_Cursor.png (17.75 KiB) Viewed 3380 times
Now what if we have a touchscreen? You can still move the selection around easily, but the start and end lines (which are TColorLineTools) are impossible to grab with fingers. Is there a way to increase the range the "cursor" is considered to grab the lines?

I ended up manually doing stuff in the OnMouseDown, OnMouseMove and OnMouseUp-events of the chart.

My question is not how to do it.
My question is: Is this even necessary? Did I overlook a handy and comfortable setting? If not, don't you think we should have one? :D Something like myTColorBandTool.ClickTolerance := 12;?


Best regards

Re: Suggestion: Make dragging a TColorLine easier for touch

Posted: Tue Oct 28, 2014 2:12 pm
by yeray
Hi Jens,

I've just added it to the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=984

And also closed it 8)

Re: Suggestion: Make dragging a TColorLine easier for touch

Posted: Tue Oct 28, 2014 4:41 pm
by 16567885
Awesome!