TLegendScrollBar arrows
Posted: Tue Jul 27, 2010 10:46 am
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
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