TeeCommander has File save but no File load
TeeCommander has File save but no File load
There is a file Save button on the TeeCommander bar but there is no corresponding File Load button. My customer wants to save his chart data and be able to load it back up and view it interactivly later in the same tool. How can I add the Load feature?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Banjovi,
Save and Load features can be easily implemented using something like:
Save and Load features can be easily implemented using something like:
Code: Select all
procedure TForm1.Button1Click(Sender: TObject);
begin
if OpenDialog1.Execute then
LoadChartfromFile(TCustomChart(DBChart1),OpenDialog1.FileName);
end;
procedure TForm1.Button2Click(Sender: TObject);
begin
if SaveDialog1.Execute then
SaveChartToFile(DBChart1,SaveDialog1.FileName,DataCheckBox.Checked);
end;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |