TeeSaveToJPegFile(Chart1, PicFilePath...

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
weigel_s
Newbie
Newbie
Posts: 4
Joined: Thu Feb 02, 2012 12:00 am

TeeSaveToJPegFile(Chart1, PicFilePath...

Post by weigel_s » Fri Feb 24, 2012 3:20 pm

Delphi Xe2, VCL v2011, Windows 7 (64bit)

while converting one of my applications from Delphi 2010, I get the following...

[DCC Error] SSFormUnit2.pas(4067): E2010 Incompatible types: 'TCustomTeePanel' and 'TChart'

on the line TeeSaveToJPegFile(Chart1, PicFilePath+'Chart1.jpg', Chart1.Width, Chart1.Height);

there seems to be an issue with this Method? as though TChart is not recognizes as TCustomTeePanel anymore?

weigel_s
Newbie
Newbie
Posts: 4
Joined: Thu Feb 02, 2012 12:00 am

Re: TeeSaveToJPegFile(Chart1, PicFilePath...

Post by weigel_s » Fri Feb 24, 2012 6:21 pm

remove all referances to Te* units from any/all uses clauses and let the compiler reload the VCLTee.* versions into your uses clause (or change all the names manually to the newly named versions)

also, the VCL2011 installer did "not" remove all native (bundled) tee* units, files, dcu(s), etc. so I had to remove them manually from the $(BDS)... LIB, BIN and other directories

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

Re: TeeSaveToJPegFile(Chart1, PicFilePath...

Post by Yeray » Tue Feb 28, 2012 4:02 pm

Hi,

If I understood well, you solved it. If I misunderstood you, don't hesitate to let us know.
weigel_s wrote: the VCL2011 installer did "not" remove all native (bundled) tee* units, files, dcu(s), etc. so I had to remove them manually from the $(BDS)... LIB, BIN and other directories
Weren't they backed up as always?
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