Page 1 of 1

Chart ListBox

Posted: Tue Jan 30, 2007 2:04 pm
by 9242408
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

Posted: Tue Jan 30, 2007 2:20 pm
by narcis
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;