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 - Access violation after deleting Axis or SubAxis
Summary: Access violation after deleting Axis or SubAxis
Status: RESOLVED WORKSFORME
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Editors (show other bugs)
Version: 150901
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-24 05:20 EST by Bert Kreisel
Modified: 2016-10-18 04:20 EDT (History)
2 users (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version: RAD XE5


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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