Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 1373

Summary: Access violation after deleting Axis or SubAxis
Product: VCL TeeChart Reporter: Bert Kreisel <bert.kreisel>
Component: EditorsAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED WORKSFORME    
Severity: normal CC: marc, sandra
Priority: Normal    
Version: 150901   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version: RAD XE5

Description Bert Kreisel 2015-11-24 05:20:54 EST
In TeeEditAxis.pas there are two lines (deleting Axis and deleting SubAxis) with

"TheAxis.Free;"

The next call of SelectedMainAxis (from LBAxesClick) run to

"with TheAxis.ParentChart do"

accessing the deleted TheAxis!

I solved this problem in the sources for myself making a copy of TheAxis.ParentChart before "TheAxis.Free;".
Comment 1 sandra pazos 2015-11-26 06:59:45 EST
Hello Bert Kreisel,

Thanks for the information. We will consider the inclusion the fix you have suggested us to upcoming version of Teechart Pro VCL/FMX

Thanks in advance
Regards!
Comment 2 marc meumann 2016-10-18 04:20:46 EDT
Seems not reproducible in latest source