Freezing DBChart while changing datasets

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
bcmiller
Newbie
Newbie
Posts: 30
Joined: Mon Jan 24, 2005 5:00 am

Freezing DBChart while changing datasets

Post by bcmiller » Tue Nov 01, 2005 5:20 pm

Hi,
Delphi 2005, Win32, TeeChart Pro v7.04 (purchased).
I have a form with a DBChart which is set up to switch between various datasources. In addition, the visibility of each Series is tied to a checkbox OnClick event:

DBChart1.Series[ 0 ].Visible := ckbx0.Checked;

It works fine but when switching from one dataset to another and resetting the checkboxes the chart shows at least one intermediate display.

Is there any simple way to "freeze" the chart until all changes are made so that there aren't any intermediate displays -just a clean shift from one display to another? I've tried employing cds.DisableControls but to no avail probably because of the checkbox onclick event.

Thanks,
Barry

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

Post by Narcís » Wed Nov 02, 2005 9:51 am

Hi Barry,

Please notice that latest version available on our Customer Download Area is v7.05. This version includes some fixes for datasources problems that existed with D2005. Can you please test if this works for you?
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