DrawLineTool and handles

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
johnnix
Advanced
Posts: 192
Joined: Tue Jul 10, 2007 12:00 am

DrawLineTool and handles

Post by johnnix » Fri Jul 13, 2007 9:09 am

Hello,

After I draw a line using the DrawLineTool the start-end point handles are drawn. Now when the user clicks outside a line I need to eliminate the handles. Is this possible?

Regards

Pep
Site Admin
Site Admin
Posts: 3299
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Fri Jul 13, 2007 9:20 am

Hi,

how about setting :

ChartTool1.SelectNewLines := false;

?

johnnix
Advanced
Posts: 192
Joined: Tue Jul 10, 2007 12:00 am

Post by johnnix » Fri Jul 13, 2007 9:32 am

Hello,

Thank you for your prompt reply but it does not work as I wanted, the last drawn line still remains "selected"

Regards

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

Post by Yeray » Tue Jul 24, 2007 10:20 am

Hi,

It's strange because this works fine for me in a new form and adding only one Line series, one DrawLineTool and adding the code line suggested for my partner.

Could you please tell us which exactly version of TeeChart are you using and could you send us a simple example project we can run "as-is" to reproduce the problem here?

You can post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
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

johnnix
Advanced
Posts: 192
Joined: Tue Jul 10, 2007 12:00 am

Post by johnnix » Wed Jul 25, 2007 5:54 am

Hello,

I am using TeeChart 8.0 with Turbo Pro and I will try to create a small sample project.

Regards

Post Reply