Loading a TTeeCustomToolAxis with deleted Axis
Posted: 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
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