Page 1 of 1

TLegendScrollBar arrows

Posted: Tue Jul 27, 2010 10:46 am
by 10050699
Hello.

I'm using TeeChart Pro v8.07.70413, C++ Builder 2010 and Windows 7.

My application displays several graphs at the same time, but only displays the legend of the one on the top (see the attached image). I need to include the legend scrollbar, so I add it to every legend and then turn all its components' color to white except in the first case (that makes that all the legends' Width have the same value).

The problem I've found is that the lower arrow never turns to white (in fact, it never changes its appearance, no matter what I do). Is this a bug, or am I missing something?

The code I'm using:

TLegendScrollBar *scrollbar;
scrollbar->ArrowBrush->Color = clWhite;
scrollbar->ArrowBrush->BackColor = clWhite;
scrollbar->ArrowBrush->Style = bsClear;
scrollbar->BackColor = clWhite;
scrollbar->Bevel = bvNone;
scrollbar->Brush->Color = clWhite;
scrollbar->Brush->BackColor = clWhite;
scrollbar->Pen->Color = clWhite;
scrollbar->Thumb->Brush->Color = clWhite;
scrollbar->Thumb->Gradient->StartColor = clWhite;
scrollbar->Thumb->Gradient->MidColor = clWhite;
scrollbar->Thumb->Gradient->EndColor = clWhite;
scrollbar->Thumb->Brush->BackColor = clWhite;
scrollbar->ThumbBrush->Color = clWhite;

Best regards,
María

Re: TLegendScrollBar arrows

Posted: Wed Jul 28, 2010 1:53 pm
by narcis
Hi María,

I see top arrow is always white but bottom arrow is greyish when activated. I'm afraid this is a bug which I have added to the defect list (TV52015053) to be fixed in future releases.

Re: TLegendScrollBar arrows

Posted: Wed Jul 28, 2010 2:21 pm
by 10050699
Thank you, Narcís.

Bye,
María