Cursor tool have't snap style property in Builder 2007

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
GAN
Newbie
Newbie
Posts: 9
Joined: Tue Mar 13, 2007 12:00 am
Contact:

Cursor tool have't snap style property in Builder 2007

Post by GAN » Thu Feb 21, 2008 8:22 am

I am using the TeeChart Pro 7.07 version for C++Builder6.
In this component version Cursor tool has property Style: TCursorToolStyle;
There is no such property in the version of a component for C++Builder2007
(TeeChart Pro v.7.12 Win32).
Without this property the cursor is drawn not on a series line. It looks like bug!
Please back this property for version of a component for C++Builder2007 or fix this bug.

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

Post by Narcís » Thu Feb 21, 2008 10:29 am

Hi GAN,

Property below is available for me here using v7.12 in C++ Builder.

Code: Select all

	ChartTool1->Style = cssBoth;
Could you please check that v7.12 is properly installed on your IDE?

Thanks in advance.
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

GAN
Newbie
Newbie
Posts: 9
Joined: Tue Mar 13, 2007 12:00 am
Contact:

Cursor tool have't snap style property in Builder 2007

Post by GAN » Wed Feb 27, 2008 1:37 pm

HI Narcís,
I talk about property TSnapStyle:SnapStyle

Code: Select all

ChartTool1->SnapStyle = ssVertical;
TSnapStyle was defined as

Code: Select all

enum TSnapStyle { ssDefault, ssHorizontal, ssVertical };

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

Post by Pep » Tue Mar 04, 2008 11:50 am

Hi GAN,

yes, using this property in C++2007 there's an ambiguity with the 'Stdctrls::ssVertical'.
I've added this issue on our bug/wish to change it for the next releases. In meantime a solution is to assign it by using :

Code: Select all

ChartTool1->SnapStyle = TSnapStyle(2);  // for Vertical..

Post Reply