Storing extra data in a Tee file.

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Normand Peladeau
Newbie
Newbie
Posts: 30
Joined: Tue Dec 28, 2004 5:00 am
Contact:

Storing extra data in a Tee file.

Post by Normand Peladeau » Thu Jan 25, 2007 10:26 pm

I need to store some information along with a chart in order for another application to read it and interpret it (the information I would like to store is the application used to create the chart and the chart type). Ideally, I would like this information to be stored in the .tee file (and transferred via the SaveToStream or LoadFromStream methods).

The ability to store an extra numeric property like tag or any other numeric property saved and seldom used would be good enough, but I need to know which one may be used safely and will be saved. Is the .tag property saved in a .tee file. This could be good enough. If not, any other suggestion?

An even better solution would be to be able to store an entire string, so any property that is saved in a Tee file and that is seldom used would be fine. Any suggestion as to which property may be used for this?

If none really exists, then I would like to suggest adding such an extra property that could be saved to disk. It could be used simply to put the name of the creating application or for storing additional information.

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

Post by Narcís » Fri Jan 26, 2007 8:54 am

Hi Normand,

There's no specific property for this. However you can use some properties that you may not be using, for example, chart's header or footer. You can store there the information you need and make them not visible in the chart.
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