Page 1 of 1

Loading a TTeeCustomToolAxis with deleted Axis

Posted: Wed Dec 05, 2007 10:35 am
by 9340566
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

Posted: Wed Dec 05, 2007 11:18 am
by narcis
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.