Access violation when clicking the Drag Point tool in the Te

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

Access violation when clicking the Drag Point tool in the Te

Post by ChartIt » Fri Dec 10, 2010 4:26 am

I get an Access violation when clicking the Drag Point tool in the TeeChart 2010 demo.
Just for your information.
Attachments
Access violation when clicking Drag Point.JPG
Access violation when clicking Drag Point.JPG (152.1 KiB) Viewed 9442 times

Bert B.
Newbie
Newbie
Posts: 69
Joined: Fri Jun 15, 2007 12:00 am

Re: Access violation when clicking the Drag Point tool in the Te

Post by Bert B. » Fri Dec 10, 2010 11:21 am

Hi ChartIt,

I cannot reproduce it, but there is another error in this demo.
When I click the line between point 2 and 3, it selects point 1.
This is consistent for all lines: cliking the line between point x and x + 1, selects point x - 1.

Regards,
Bert

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

Re: Access violation when clicking the Drag Point tool in the Te

Post by Narcís » Fri Dec 10, 2010 11:55 am

Hello everyone,

I can't reproduce any of those here using our current sources. Code snippet below works fine for me here. Can you please check if it works fine at your end? Can you modify it so that we can reproduce the issue here? If you are TeeChart 2010 VCL source code customers I could provide our latest sources for you to test.

Code: Select all

uses Series;

procedure TForm1.FormCreate(Sender: TObject);
var Series1: TLineSeries;
begin
  Series1:=TLineSeries.Create(Self);
  Series1.FillSampleValues;
  Series1.Pointer.Visible:=True;
  Chart1.AddSeries(Series1);
end;

procedure TForm1.Chart1MouseMove(Sender: TObject; Shift: TShiftState; X,
  Y: Integer);
begin
  Caption:=IntToStr(Chart1[0].Clicked(X,Y));
end;
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

Bert B.
Newbie
Newbie
Posts: 69
Joined: Fri Jun 15, 2007 12:00 am

Re: Access violation when clicking the Drag Point tool in the Te

Post by Bert B. » Mon Dec 13, 2010 10:09 am

Hi Narcís,
I can't reproduce any of those here using our current sources.
Did you check this
When I click the line between point 2 and 3, it selects point 1.
This is consistent for all lines: clicking the line between point x and x + 1, selects point x - 1.
with the demo application on the website? Maybe it's time to update it.

Regards,
Bert

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

Re: Access violation when clicking the Drag Point tool in the Te

Post by Yeray » Wed Dec 15, 2010 1:58 pm

Hello,

We've updated the compiled features demo here recently. I can't reproduce the error in the first post and neither the problem with the indexes.
Could you please confirm it?
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

Bert B.
Newbie
Newbie
Posts: 69
Joined: Fri Jun 15, 2007 12:00 am

Re: Access violation when clicking the Drag Point tool

Post by Bert B. » Wed Dec 15, 2010 2:09 pm

Hi Yeray,

My issue has been solved in the new demo, but you might update the text on the website:
TeeChart compiled demo
version : 2010 / date: June 01, 2010
Bert

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

Re: Access violation when clicking the Drag Point tool in the Te

Post by Narcís » Wed Dec 15, 2010 2:17 pm

Hi Bert,

Thanks for pointing this out. I have updated it to 17th November 2010 which was the date when I posted the current demo.
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