TLegendScrollBar arrows

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Maria
Newbie
Newbie
Posts: 6
Joined: Thu Oct 30, 2008 12:00 am

TLegendScrollBar arrows

Post by Maria » 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
Attachments
LegendScrollBar.png
LegendScrollBar.png (32.78 KiB) Viewed 4076 times

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

Re: TLegendScrollBar arrows

Post by Narcís » Wed Jul 28, 2010 1:53 pm

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.
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

Maria
Newbie
Newbie
Posts: 6
Joined: Thu Oct 30, 2008 12:00 am

Re: TLegendScrollBar arrows

Post by Maria » Wed Jul 28, 2010 2:21 pm

Thank you, Narcís.

Bye,
María

Post Reply