Editing Chart
How to persist the content of the property dialog box so that the settings are not lost after the program restarts???
[img]C:/Users/27401/Desktop/Snipaste_2023-06-25_14-10-55.png[/img]
TChartEditor *ChartEditor;
ChartEditor->Execute();
How to save the content of the dialog box displayed by this class?
Editing Chart Save Settings
-
- Newbie
- Posts: 27
- Joined: Wed Nov 09, 2022 12:00 am
Re: Editing Chart Save Settings
Hello,
I'm not sure to understand what do you mean with "the content of the property dialog box".
Where do you find that property? I guess the image you tried to attach would clarify it, but it wasn't correctly uploaded. Please try it again.
I'm not sure to understand what do you mean with "the content of the property dialog box".
Where do you find that property? I guess the image you tried to attach would clarify it, but it wasn't correctly uploaded. Please try it again.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 27
- Joined: Wed Nov 09, 2022 12:00 am
Re: Editing Chart Save Settings
TChartEditor *ChartEditor;
ChartEditor->Execute();
How to save the settings in the pop-up dialog box of the above code???
ChartEditor->Execute();
How to save the settings in the pop-up dialog box of the above code???
- Attachments
-
- 112233.png (19.97 KiB) Viewed 16193 times
Re: Editing Chart Save Settings
Hello,
The Chart Editor is made to help developers to design their charts; it's not intended or recommended for the final user because it has so many options it's quite easy to set options with little or no sense.
If you open the Chart Editor at design-time, the options you change should be saved in your form .dfm and then persist after reloading the project.
If you want to support modifying a chart at runtime and save and load it, you should save the chart to a .tee file. See the Tutorial 12.
The Chart Editor is made to help developers to design their charts; it's not intended or recommended for the final user because it has so many options it's quite easy to set options with little or no sense.
If you open the Chart Editor at design-time, the options you change should be saved in your form .dfm and then persist after reloading the project.
If you want to support modifying a chart at runtime and save and load it, you should save the chart to a .tee file. See the Tutorial 12.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |