DBGrid and DBChart

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

DBGrid and DBChart

Post by bcmiller » Tue Jan 03, 2006 9:12 pm

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)

Pep
Site Admin
Site Admin
Posts: 3298
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Thu Jan 05, 2006 10:14 am

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 ?

bcmiller
Newbie
Newbie
Posts: 30
Joined: Mon Jan 24, 2005 5:00 am

DBGrid and DBChart

Post by bcmiller » Sun Jan 08, 2006 7:59 pm

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

Post Reply