Page 1 of 1

Tcolorline disappeared in move form XE2 ro XE7

Posted: Mon Aug 31, 2015 2:33 pm
by 16473752
My Tcolorline object disappeared when I compiled and ran in XE7; it showed fine in XE2.
When my program runs I can make it appear if I change the Transparency setting in the Format tab in the Border tab.
However, I can't find where to programmatically set this property.
My program does this:
Active := True;
Value := EEDM.FDData.CBE[EEDM.FDData.CURRENT,1];
Pen.Color := clHotLight;
Pen.Style := psDash;
Pen.Width := 2;
What else do I need to do the make the Tcolorline object appear?

Re: Tcolorline disappeared in move form XE2 ro XE7

Posted: Tue Sep 01, 2015 11:38 am
by yeray
Hello,

What TeeChart version are you using in XE7 and what TeeChart version were you using in XE2?

This is how to assign a color to the ColorLine Pen:

Code: Select all

  ColorLineTool.Pen.Color:=DBChart.Canvas.ColorFrom(clRed {color},0 {transparency});