TChartEditor changed

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
srdjos
Newbie
Newbie
Posts: 3
Joined: Tue Aug 07, 2007 12:00 am

TChartEditor changed

Post by srdjos » Thu Nov 27, 2008 12:36 pm

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Dec 01, 2008 2:26 pm

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!
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