![]() | Steema Issues DatabaseNote: 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. |
| Summary: | Access violation after loading a chart | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | info <info> |
| Component: | Chart | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | enhancement | CC: | sandra |
| Priority: | --- | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
| Attachments: | Executable file with source code (Delphi 7), which demonstrates the access violation | ||
Created attachment 842 [details] Executable file with source code (Delphi 7), which demonstrates the access violation Dear Sirs, an access violation appears if a loaded Chart must be edited. By a click on Button 'Save' (Button1) Chart1 is saved. After a click on Button 'Load' (Button2) the Chart1 will be loaded. This works. But if the loaded Chart1 thereupon will be edited (by a click on Button 'EditSeries' (Button3) an access violation appears. Could you please give me an answer what's wrong there ? Only the following code is implemented: procedure TForm1.Button1Click(Sender: TObject); begin SaveChartToFile( TCustomChart( Chart1 ), 'd:\mychart1.tee',true,true); end; procedure TForm1.Button2Click(Sender: TObject); begin LoadChartFromFile( TCustomChart( Chart1 ), 'd:\mychart1.tee'); end; procedure TForm1.Button3Click(Sender: TObject); begin EditSeries(Self,Series1); // -> results in an access violation if a // saved chart is loaded. end; In attachmaent you can find the exe file and the source code of the application which doesn't work correctly. Please start the file project1.exe and click on Button 'Save' to save the chart. Then click on Button 'Load' to load the chart. After a click on Button 'EditSeries' the error (access violation) occurs. Best regards Ralf Riescher