Page 1 of 1

TChartEditor changed

Posted: Thu Nov 27, 2008 12:36 pm
by 10546323
Hi

TChartEditor has lot of options

But do we have some information that user has
made a change or changes

example:
user makes change to:
Chart --> General --> Steps
from 7 to 8

And I want to detect it !

Thanx
Srdjan

Posted: Mon Dec 01, 2008 2:26 pm
by narcis
Hi Srdjan,

The only event to detect if something has changed in the editor is OnAfterDraw chart as it is fired every time chart is repainted. However, what you'd like to get doesn't repaint the chart.

The only option here is saving the properties you'd like to monitor in TChartEditor's OnShow event. You can use a TChartEditor linked to a chart even you are using a TTeecommander. In TChartEditor's OnClose event you can check if monitored properties have changed.

Hope this helps!