Default save dir TeeExport

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Linus Ljung
Newbie
Newbie
Posts: 7
Joined: Wed Dec 01, 2004 5:00 am

Default save dir TeeExport

Post by Linus Ljung » Tue Oct 18, 2005 1:48 pm

Hi!
I want to use TeeExport but can't find any solution to point to a predefined directory. Is there a way to do this?

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 Oct 18, 2005 2:01 pm

Hi Linus,

Yes, you can do something like:

Code: Select all

  SaveChartToFile(Chart1,'c:\temp\myChart.tee',True);
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

Linus Ljung
Newbie
Newbie
Posts: 7
Joined: Wed Dec 01, 2004 5:00 am

Post by Linus Ljung » Tue Oct 18, 2005 2:28 pm

Hi, and thanks for the answer!

The problem is that i still want to use the Export dialog before i save the chart, so it is the "save buttons" directoty in the teechart export dialog i want to change.

Linus Ljung
Newbie
Newbie
Posts: 7
Joined: Wed Dec 01, 2004 5:00 am

Post by Linus Ljung » Tue Oct 18, 2005 2:32 pm

Code for explanation

I use today:

TeeExport(Self,TrendChart);

What i want

TrendChart.??.SetSaveDir('Dir');
TeeExport(Self,TrendChart);

Pep
Site Admin
Site Admin
Posts: 3299
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Oct 24, 2005 10:42 am

Hi,

this cannot be done with the existing version, however I've added it on our wish list to be considered for the next releases.

Post Reply