Page 1 of 1

Delphi V7 EReadError with LoadChartFromFile ver5.03

Posted: Tue Sep 05, 2006 4:19 am
by 4209922
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

Posted: Tue Sep 05, 2006 8:19 am
by narcis
Hi idcomms,

Please read this message, it may help you solve your problem.