Tcolorline disappeared in move form XE2 ro XE7

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
GoOilers
Newbie
Newbie
Posts: 1
Joined: Tue May 12, 2015 12:00 am

Tcolorline disappeared in move form XE2 ro XE7

Post by GoOilers » Mon Aug 31, 2015 2:33 pm

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?

Yeray
Site Admin
Site Admin
Posts: 9514
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Tcolorline disappeared in move form XE2 ro XE7

Post by Yeray » Tue Sep 01, 2015 11:38 am

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});
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply