Suggestion: Make dragging a TColorLine easier for touch

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
jens.mertelmeyer
Newbie
Newbie
Posts: 60
Joined: Fri Nov 22, 2013 12:00 am

Suggestion: Make dragging a TColorLine easier for touch

Post by jens.mertelmeyer » Tue Oct 28, 2014 12:16 pm

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 12647 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
Attachments
TColorBand_Cursor2.png
TColorBand_Cursor2.png (19.84 KiB) Viewed 12640 times

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Suggestion: Make dragging a TColorLine easier for touch

Post by Yeray » Tue Oct 28, 2014 2:12 pm

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)
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

jens.mertelmeyer
Newbie
Newbie
Posts: 60
Joined: Fri Nov 22, 2013 12:00 am

Re: Suggestion: Make dragging a TColorLine easier for touch

Post by jens.mertelmeyer » Tue Oct 28, 2014 4:41 pm

Awesome!

Post Reply