Making TCursorTool - non movable - so user cannot drag/drop

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Shimon
Newbie
Newbie
Posts: 22
Joined: Tue Nov 04, 2008 12:00 am

Making TCursorTool - non movable - so user cannot drag/drop

Post by Shimon » Sun Jan 04, 2009 10:32 am

I use the TCursor tool to display a horizontal line.

I dont want the user to be able to drag and change the position of the line, how could I do that ?

Thanks

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Jan 05, 2009 10:28 am

Hi Shimon,

In that case you may better use a TColorLine tool and set its AllowDrag property to false:

Code: Select all

  ChartTool1.AllowDrag:=false;
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply