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.
How to save the current setting in the registry?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Ced,
When exporting a chart, only the properties you set are stored. For example, using this code:
If you save the chart and then load it title and legend settings are kept. Is that what you are trying to achieve?
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
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |