Hi Pep,
Please, look into TeeTools.hpp (from TeeChart Pro v.7.12 Win32 C++Builder2007)
There is no SnapStyle property.
Compiler message: 'SnapStyle' is not a member of 'TCursorTool'!
Please back this property for version of a component for C++Builder2007
Cut from TeeTools.hpp (from TeeChart Pro
v.7.12 Win32 C++Builder2007 ):
Code: Select all
class PASCALIMPLEMENTATION TCursorTool : public Teengine::TTeeCustomToolSeries
{
typedef Teengine::TTeeCustomToolSeries inherited;
private:
/.../
protected:
/..../
public:
/.../
__published:
__property Active = {default=1};
__property int ClickTolerance = {read=FClick, write=FClick, default=3};
__property bool FollowMouse = {read=FFollowMouse, write=FFollowMouse, default=0};
__property Pen ;
__property Series ;
__property bool Snap = {read=FSnap, write=FSnap, default=0};
__property TCursorToolStyle Style = {read=FStyle, write=SetStyle, default=2};
__property bool UseSeriesZ = {read=FUseSeriesZ, write=SetUseSeriesZ, default=0};
__property TCursorToolChangeEvent OnChange = {read=FOnChange, write=FOnChange};
__property TCursorToolChangeEvent OnSnapChange = {read=FOnSnapChange, write=FOnSnapChange};
public:
#pragma option push -w-inl
/* TCustomChartElement.Destroy */ inline __fastcall virtual ~TCursorTool(void) { }
#pragma option pop
};
Cut from TeeTools.hpp (from TeeChart Pro
v.7.07 Win32 C++Builder6):
Code: Select all
class PASCALIMPLEMENTATION TCursorTool : public Teengine::TTeeCustomToolSeries
{
typedef Teengine::TTeeCustomToolSeries inherited;
private:
/.../
TSnapStyle FSnapStyle;
/.../
protected:
/..../
public:
/.../
__published:
__property Active = {default=1};
__property int ClickTolerance = {read=FClick, write=FClick, default=3};
__property bool FollowMouse = {read=FFollowMouse, write=FFollowMouse, default=0};
__property Pen ;
__property Series ;
__property bool Snap = {read=FSnap, write=FSnap, default=0};
//*******************************************************************************//
__property TSnapStyle SnapStyle = {read=FSnapStyle, write=FSnapStyle, default=0};
//********************************************************************************//
__property TCursorToolStyle Style = {read=FStyle, write=SetStyle, default=2};
__property bool UseSeriesZ = {read=FUseSeriesZ, write=SetUseSeriesZ, default=0};
__property TCursorToolChangeEvent OnChange = {read=FOnChange, write=FOnChange};
__property TCursorToolChangeEvent OnSnapChange = {read=FOnSnapChange, write=FOnSnapChange};
public:
#pragma option push -w-inl
/* TCustomChartElement.Destroy */ inline __fastcall virtual ~TCursorTool(void) { }
#pragma option pop
};