Delphi V7 EReadError with LoadChartFromFile ver5.03

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
idcomms
Newbie
Newbie
Posts: 1
Joined: Sat Mar 10, 2001 5:00 am

Delphi V7 EReadError with LoadChartFromFile ver5.03

Post by idcomms » Tue Sep 05, 2006 4:19 am

I seem to be able to save a graph plus data to a file.however, when loading the data back into the chart an exception is raised.
Exception Class EReadError with message'Invalid property value'

Code below is cut from my programme

uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, qcm_temperatureVXI, ExtCtrls, Menus,ColorButton,Chart, Series,
TeeEdiSeri,TeeEdit, TeEngine, TeeProcs,Inifiles,TeeStore, TeeLisB,
TeeComma;

procedure Tqcmform.Save3Click(Sender: TObject);
begin
if SaveDialog1.Execute then
SaveChartToFile(Chart1,SaveDialog1.FileName,true);
end;

procedure Tqcmform.Recall2Click(Sender: TObject);
begin
if OpenDialog1.Execute then
LoadChartFromFile(Tcustomchart(chart1),OpenDialog1.FileName);

Any help would be much appreciated

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Sep 05, 2006 8:19 am

Hi idcomms,

Please read this message, it may help you solve your problem.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply