Page 1 of 1

DBGrid and DBChart

Posted: Tue Jan 03, 2006 9:12 pm
by 9235705
Hi,

Need some help figuring out why when I scroll through the DBGrid using the arrow key or the vertical scroll bar -the DBChart clears until I checkdatasource for all series?

Thanks for your insight,
Barry

(Delphi 2005, TeeChart Pro v7.04 purchased)

Posted: Thu Jan 05, 2006 10:14 am
by Pep
Hi,

I'm sorry, I cannot reproduce the problem here (with the latest v7.06). The steps I've done are :
- add a TDBChart, TTable and TDBGrid into the form
- connect a Series and connect it to TTable, connect also the TDBGrid with the Table
- when I scroll the TDBGrid the charts does not do nothing special.

Could you please tell me the steps I must to in order to reproduce the problem "as is" here ? of post an example with which I can see the problem into the news://www.steema.net/steema.public.attachments newsgroup ?

DBGrid and DBChart

Posted: Sun Jan 08, 2006 7:59 pm
by 9235705
Turns out I had neglected to:

cds.EnableControls;

after having switched the dataset the grid and chart were drawing from.

Sorry for the uproar!

-Barry