Loading a TTeeCustomToolAxis with deleted Axis

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Bert Kreisel
Newbie
Newbie
Posts: 23
Joined: Wed Jan 12, 2005 5:00 am
Location: Germany/Chemnitz
Contact:

Loading a TTeeCustomToolAxis with deleted Axis

Post by Bert Kreisel » Wed Dec 05, 2007 10:35 am

Deleting an Axis witch is assigned to an Axis tool (Axis Scroll) and then saving this chart results in an unloadable chart file (.tee) (exception on loading the property AxisID (AxisID = -1) of the Axis tool).

Steps (for example in TeeChart Office):

1. Create Axis Custom 0
2. Insert Axis Scroll tool
3. Assign Axis Custom 0 to Axis Scroll tool
4. Delete Axis Custom 0
5. Save Chart
6. Load Chart -> Access violation

Could you please change the code of TTeeCustomToolAxis.ReadAxis or TTeeCustomToolAxis.WriteAxis so that no access violation on read occurs?

Behalves Bert Kreisel

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

Post by Narcís » Wed Dec 05, 2007 11:18 am

Hi Bert,

Thanks for reporting. I've been able to reproduce this here and added the defect (TV52012622) to our bug list to be fixed for next releases.
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