How to save the current setting in the registry?

TeeChart for ActiveX, COM and ASP
Post Reply
Ced
Newbie
Newbie
Posts: 1
Joined: Mon Jan 09, 2006 12:00 am

How to save the current setting in the registry?

Post by Ced » Thu Mar 02, 2006 5:10 pm

Hi,
is it possibile to save the current setting of ocx directly in the registry with a function?
when i modified the setting with chart editor and close the window I like save the setting in the registry all execpt the data.
I try to use (Export.asNative.SaveToFile "C:\TestFiles\TeeChart.tee", False) but after a close and a open, setting also title and legend :O((.
have try to reset the chart?

thanks in advance.

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 Mar 03, 2006 9:02 am

Hi Ced,

When exporting a chart, only the properties you set are stored. For example, using this code:

Code: Select all

Private Sub Form_Load()
    TChart1.Series(0).FillSampleValues 10
    TChart1.Legend.Visible = False
    TChart1.Header.Text.Clear
    TChart1.Header.Text.Add "My Title"
End Sub
If you save the chart and then load it title and legend settings are kept. Is that what you are trying to achieve?
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