Hi,
When I start the Chart Editor screen and I close it, The zoom is automatically actived, could you help me to solve this problem ?
Thank you.
Wil.
ZOOM
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Wil,
Which exact TeeChart version are you using? Could you please send us a simple example project we can run "as-is" or let us know the steps we should follow to reproduce the problem here?
You can either post your files at news://www.steema.net/steema.public.attachments or at our upload page.
Thanks in advance!
Which exact TeeChart version are you using? Could you please send us a simple example project we can run "as-is" or let us know the steps we should follow to reproduce the problem here?
You can either post your files at news://www.steema.net/steema.public.attachments or at our upload page.
Thanks in advance!
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 |
Hi,
I use the 7.08 for Delphi 2006. I have create a procedure on the double click event of my teexhart with this code :
procedure TfrmMainAnalyseHydro.chartAnalyseHydroLEELEPDblClick(Sender: TObject);
begin
editChart(self, TCustomChart(sender));
end;
When I double clik on the teechart, the editor appear but when I close it, the zoom function with the dots appear on the teechart. At this moment, I must zoom two times on the teechart to come back on a normal state.
I have started a demo and I don't reproduce the problem.
I hope it's clear for you
Thanks a lot.
Wil
I use the 7.08 for Delphi 2006. I have create a procedure on the double click event of my teexhart with this code :
procedure TfrmMainAnalyseHydro.chartAnalyseHydroLEELEPDblClick(Sender: TObject);
begin
editChart(self, TCustomChart(sender));
end;
When I double clik on the teechart, the editor appear but when I close it, the zoom function with the dots appear on the teechart. At this moment, I must zoom two times on the teechart to come back on a normal state.
I have started a demo and I don't reproduce the problem.
I hope it's clear for you
Thanks a lot.
Wil
Hi Wil,
to solve it you can do :
to solve it you can do :
Code: Select all
procedure TForm1.Chart1DblClick(Sender: TObject);
begin
editChart(self, TCustomChart(sender));
Abort;
end;
Pep Jorge
http://support.steema.com
http://support.steema.com
Hi, Pep!
So far in such cases I used something like that
Do you reccomend use Abort procedure instead that actually invokes sort of exception?
So far in such cases I used something like that
Code: Select all
TCustomChart(sender)).CancelMouse
Regards, Alexander
=================
TeeChart Pro v8.05, Delphi 5 & Turbo Delphi Professional for Win32., Delphi & C++Builder 2009
=================
TeeChart Pro v8.05, Delphi 5 & Turbo Delphi Professional for Win32., Delphi & C++Builder 2009
Hi Alexander,
CancelMouse can be used too, it should work in similar way, it stops or not the events calls in mouse click events.
Abort wont allow you to choose if they must be fired or not, just abort them.
CancelMouse can be used too, it should work in similar way, it stops or not the events calls in mouse click events.
Abort wont allow you to choose if they must be fired or not, just abort them.
Pep Jorge
http://support.steema.com
http://support.steema.com