The event responds to TeeCommander.ButtonSave

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
liuxs
Newbie
Newbie
Posts: 20
Joined: Fri Dec 15, 2017 12:00 am

The event responds to TeeCommander.ButtonSave

Post by liuxs » Wed Jan 03, 2018 10:14 am

When press the TeeCommander.ButtonSave, I want to use TeeExport to export the Chart. How to make it work? Can you help me to modify the codes?
Attachments
ChartSave.zip
(5.82 KiB) Downloaded 818 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: The event responds to TeeCommander.ButtonSave

Post by Sandra » Wed Jan 03, 2018 12:00 pm

Hello liuxs,

I think your request isn't possible. I would like suggest you use a Button component to do as you want. The code below shows you how can do it:

Code: Select all

procedure TForm1.Button1Click(Sender: TObject);
begin
          TeeExport(self, Chart1);
end;
Best Regards,
Sandra Pazos / 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