Page 1 of 1

Selection always selects in black color

Posted: Thu Jan 22, 2015 9:22 am
by 16071129
My chart background color is black and i used drawline tool to draw a white line on it.
In ActiveX version of teechart it is showing selection with white color.
But in .Net version it shows line selected with black color dots at the both ends of line.
that's why it mixes with background.
How i can achieve this in .Net version.

Re: Selection always selects in black color

Posted: Thu Jan 22, 2015 11:08 am
by narcis
Hi Quant,

For this to work in .NET you need to set Panel.Color to black, for example:

Code: Select all

      tChart1.Panel.Color = Color.Black;
That makes handles being painted in Color.Silver.

Re: Selection always selects in black color

Posted: Fri Jan 23, 2015 4:05 am
by 16071129
It is strange but it worked.
thank you