Let user save his TeeCommander settings?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Windwalker
Newbie
Newbie
Posts: 14
Joined: Mon Apr 20, 2009 12:00 am

Let user save his TeeCommander settings?

Post by Windwalker » Tue Jun 16, 2009 12:31 pm

Hello,

I included a TeeCommander Toolbar in my application to give the user the possibility to customize his chart in detail, as he likes.
Since there the toolbar allows for a vast variety of changes, I look for a way to give the user the chance to save his settings.
Does there exist one?

Would be great if someone could help.

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Let user save his TeeCommander settings?

Post by Yeray » Tue Jun 16, 2009 1:15 pm

Hi Windwalker,

First of all, note that TeeCommander wasn't thought for the end user use, but for programmers testing. And that's why this component isn't as customizable as some customers expect. On the other hand, most tabs and setting windows that the editor shows, can be called individually so you can create your own custom controls allowing some characteristics and not the others.

Finally, note that TeeCommander shows and allows you to change chart's properties at runtime, so the changes made at runtime by code will be present in the commander. So I'm not sure to understand you what do you mean with "the chance to save his settings".
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Let user save his TeeCommander settings?

Post by Yeray » Tue Jun 16, 2009 1:31 pm

Hi Windwalker,

As an update, if what you want is to save the chart characteristics at a moment and store them in a another moment, you can save a chart into a tee file or a stream and load it later.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Windwalker
Newbie
Newbie
Posts: 14
Joined: Mon Apr 20, 2009 12:00 am

Re: Let user save his TeeCommander settings?

Post by Windwalker » Tue Jun 16, 2009 1:45 pm

Yeray, thanks for your quick answer.

Let me explain my intend a bit further.

I showed my application with TeeCommander to my boss and he thought we might keep this in the program, in order to allow an end user, who is willing to go into depth with the application's charts, to use TeeCommander as a backdoor to customize the charts in many more ways, than possible in the first instance by the application.

Now lets say, a user has made several customizations.
Is ist possible to save do disk, which customizations were made, in order to restore them, the next time the user opens the chart?


But, figuring out your answer, where you state that TeeCommander is not intended for end user usage, I suppose such a feature is not included.
Please correct me, if I am wrong.

Windwalker
Newbie
Newbie
Posts: 14
Joined: Mon Apr 20, 2009 12:00 am

Re: Let user save his TeeCommander settings?

Post by Windwalker » Tue Jun 16, 2009 1:57 pm

Yeray wrote:Hi Windwalker,

As an update, if what you want is to save the chart characteristics at a moment and store them in a another moment, you can save a chart into a tee file or a stream and load it later.
If you mean "restore them in another moment", then that's what I mean.

The characteristics can be saved using the Save-Button in TeeCommander.
How can they be restored?

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Let user save his TeeCommander settings?

Post by Yeray » Tue Jun 16, 2009 2:09 pm

Hi Windwalker,

Yes, you can save your chart to disk in a .tee file and load it later in the same application or another. Take a look at Tutorial 12 - Exporting and Importing Charts (You should find tutorials and example demos at TeeChart's programs group).

You should have a button that calls LoadChartToFile function as in the tutorial.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply