Page 1 of 1

TeeChartVCLFMXSOURCE-2017.22, cannot jump to source code

Posted: Tue Nov 14, 2017 1:04 pm
by 16582264
Delphi Tokyo, Windows 10

I removed TeeChart Standard from IDE - Components - Install Packages
Then installed TeeChartVCLFMXSOURCE-2017.22

Create a new project, put TChart component on the form. It can be compiled. I want to check source code by pressing Ctrl and left click TChart in the unit, nothing happened.

Library path(I moved TeeChart Lib on the top):
C:\Programming\Components\TeeChart\Compiled\Delphi25.win32\Lib;
C:\Programming\Components\TeeChart\TeeTree\Compiled\Delphi25.win32\Lib;
$(BDSLIB)\$(Platform)\release;
$(BDSUSERDIR)\Imports;
$(BDS)\Imports;
$(BDSCOMMONDIR)\Dcp;
$(BDS)\include

Browsing path: I found only C:\Programming\Components\TeeChart\TeeTree on there
I added the followings 3 and also move these 4 on the top of browsing path list.
C:\Programming\Components\TeeChart\Source;
C:\Programming\Components\TeeChart\Source\VCL;
C:\Programming\Components\TeeChart\TeeMaker;

Still not working, cannot jump to the source code.

Any suggestion?

Re: TeeChartVCLFMXSOURCE-2017.22, cannot jump to source code

Posted: Tue Nov 14, 2017 1:10 pm
by yeray
Hello,

Try putting "TeeChart\Source" and "TeeChart\Source\VCL" into the Library path instead of the "Compiled" ones.

Re: TeeChartVCLFMXSOURCE-2017.22, cannot jump to source code

Posted: Tue Nov 14, 2017 1:17 pm
by 16582264
Thank you for your quick reply.

I tried that before. cannot compile.
error messages:
[dcc32 Error] TeCanvas.pas(5803): E2010 Incompatible types: 'VCLTee.TeCanvas.TTeeCanvas' and 'TeCanvas.TTeeCanvas'
[dcc32 Error] TeCanvas.pas(8614): E2010 Incompatible types: 'TTeeCanvas' and 'TTeeCanvas3D'
[dcc32 Fatal Error] VCLTee.TeeGDIPlus.pas(668): F2063 Could not compile used unit 'TeCanvas.pas'

Re: TeeChartVCLFMXSOURCE-2017.22, cannot jump to source code

Posted: Tue Nov 14, 2017 1:39 pm
by yeray
Hello,

We also use to recommend adding "VCLTee" or "FMXTee" to the "unit scope names" list in "Tools\Options...\Environment Options\Delphi Options\Lirary" in your IDE.

Re: TeeChartVCLFMXSOURCE-2017.22, cannot jump to source code

Posted: Tue Nov 14, 2017 2:13 pm
by 16582264
Still not working.

Does the old TeeChart Standard component cause this?

Re: TeeChartVCLFMXSOURCE-2017.22, cannot jump to source code

Posted: Wed Dec 13, 2017 8:03 am
by yeray
Hello,

Sorry for the lack of reply here.
Did you solve the problem?

Re: TeeChartVCLFMXSOURCE-2017.22, cannot jump to source code

Posted: Thu Dec 27, 2018 10:26 am
by 16483543
Hi,

I got a same issue. Haven't resolved at the moment. Please assist.

Thanks.

Re: TeeChartVCLFMXSOURCE-2017.22, cannot jump to source code

Posted: Thu Dec 27, 2018 2:38 pm
by Marc
Hello,

With or without the compiled units in the path, the IDE project should route fine to the sourcecode if pathed.

As a check, please add the TeeChart 'source' and 'source\vcl' folders to the project options 'search path' and confirm that the paths to the sourcecode are reported in hard-black in the browser list where you have them selected. ie. that Delphi recognises the paths (rather like the difference between good & bad path in the attached image).
vclpaths.png
vclpaths.png (13.4 KiB) Viewed 21102 times
Add a path to the TeeMaker source folder too, as you have in your example, if any of the units there are referenced in your project.

If you do a right-mouseclick on the Chart in the form for 'About TeeChart'...is it reporting the version of TeeChart you expect to be using?

Regards,
Marc Meumann

Re: TeeChartVCLFMXSOURCE-2017.22, cannot jump to source code

Posted: Sat Dec 29, 2018 1:31 am
by 16483543
Hi Marc,

I've tried as per your guidance, but the issue is still appear. I used TeeChart Pro v2017.23.171221 32bit VCL over RAD Studio 10.1 Berlin.
I've added the TeeChart 'source' and 'source\vcl' folders into the project options 'search path' below :
C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2017.23\Source
C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2017.23\Source\VCL
C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2017.23\Source\FMX

The error message :
[dcc32 Error] TeCanvas.pas(5803): E2010 Incompatible types: 'VCLTee.TeCanvas.TTeeCanvas' and 'TeCanvas.TTeeCanvas'
[dcc32 Error] TeCanvas.pas(8614): E2010 Incompatible types: 'TTeeCanvas' and 'TTeeCanvas3D'
[dcc32 Fatal Error] VCLTee.TeeGDIPlus.pas(668): F2063 Could not compile used unit 'TeCanvas.pas'
Failed

Kindly advice.

Thanks.

Rgds,
taruna FS

Re: TeeChartVCLFMXSOURCE-2017.22, cannot jump to source code

Posted: Mon Dec 31, 2018 9:43 am
by Marc
Hello taruna,

Ok, I over-recommended paths. It's not picking up the VCL specific units. Please remove this line from the search path:
C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2017.23\Source
This line shouldn't be necessary either for a VCL project:
C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2017.23\Source\FMX
That leaves you with this search path:
C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2017.23\Source\VCL
Please remember to add:
vcltee
to the unit scope name section (a little further down from search path in project options).

Regards,
Marc

Re: TeeChartVCLFMXSOURCE-2017.22, cannot jump to source code

Posted: Mon Jan 07, 2019 4:07 am
by 16483543
Hi Marc,

It works now. Many thanks for your support.

Rgds,
Taruna FS