The save button of Teechart commander save the settings and the data.
Is it possible to exclude the data and only save the settings?
We would like the user to give the possibility to make changes to the graph, save them and restore it when new data is loaded.
Teechart commander v2012
Re: Teechart commander v2012
Hi,
You can't change that button action in the commander but you can manually call the SaveToFile function with the second parameter 'False' to indicate you don't want to export the data. You can see an example of this in the "TeeChart's 'Tee' template and data export/import format" section in the "Tutorial 12 - Exporting and Importing Charts".
You can't change that button action in the commander but you can manually call the SaveToFile function with the second parameter 'False' to indicate you don't want to export the data. You can see an example of this in the "TeeChart's 'Tee' template and data export/import format" section in the "Tutorial 12 - Exporting and Importing Charts".
Code: Select all
With CommonDialog1
.Filter = "TeeFile (.tee)|*.tee"
.ShowSave
If .FileName <> "" Then
TChart1.Export.asNative.SaveToFile .FileName, True
End If
End With
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |