Chart ListBox

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
tbonejo
Newbie
Newbie
Posts: 73
Joined: Wed Sep 06, 2006 12:00 am
Contact:

Chart ListBox

Post by tbonejo » Tue Jan 30, 2007 2:04 pm

The ChartListbox comes in handy, however there seems to be no way to see what item is checked or not, is this true or some obscure way I am not seeing?

I need to be able to iterate through the thing to see whats checked, not currently selected.


Any ideas?


Thanks,

Tom
Tom

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

Post by Narcís » Tue Jan 30, 2007 2:20 pm

Hi Tom,

You can do something like this:

Code: Select all

  for i:=0 to ChartListBox1.Series.Count -1 do
    if ChartListBox1.Series[i].Active then
    begin
      //Here goes your code
    end;
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