E2010 Incompatible types: 'TCustomTeePanel' and 'TChart'

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

E2010 Incompatible types: 'TCustomTeePanel' and 'TChart'

Post by weigel_s » Fri Feb 24, 2012 5:49 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: E2010 Incompatible types: 'TCustomTeePanel' and 'TChart'

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: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: E2010 Incompatible types: 'TCustomTeePanel' and 'TChart'

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

Hi,

This is the same here, isn't it?
Please, don't open several threads with the same question.
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