Page 1 of 1

Find declaration problem

Posted: Fri Mar 23, 2012 7:09 pm
by 10553945
Hi,

I use DelphiXE2, now update #4 together with TeeChart VCL source code.
Unfortunately the function 'Find declaration' does not work.
Maybe something is messing up. DelphiXE2 comes with a TeeChart. Then I have installed the 'TeeChart 2011 for RAD XE2' binary as the source code package does not include examples and help file.
Finally I have installed the 'TeeChart Pro 2011 Full Source Code' package and run TeeRecompile.exe with debug checkbox checked.
So everything is working, all my projects are compiling well.

But e.g. right click on TChart and selecting Find Declaration does nothing.

The library pathes are automatically updated by the installation and they look coorect. So what is wrong?

Thx for any help.

Uli

Re: Find declaration problem

Posted: Mon Mar 26, 2012 7:25 am
by narcis
Hi Uli,

This works fine for me here. If I right-click on a TChart instance Delphi XE2 goes to its declaration in the form. You could try manually running the help registration tools as explained at Readme.txt in the Docs\RadStudio folder of TeeChart's installation.

Re: Find declaration problem

Posted: Mon Mar 26, 2012 8:00 am
by 10553945
Hi NarcĂ­s,
maybe I have not expressed myself correctly.
If I click on TChart in variable definition var Chart1: TChart; and press F1 then the help comes up correctly.

What I mean:
if I right-click on e.g. TStringList and select 'Find Declaration' in the popup window then Delphi jumps directly to the source file System.Classes to line TStringList = class(TStrings)
if I right-click on TChart and select 'Find Declaration' in the popup window then nothing happens. I would like to jump to the according TChart source file.
In Tools - Options - Library the DCU and Source pathes are set by the TChart installer.

So why does Find Declaration not work?

Regards
Uli

Re: Find declaration problem

Posted: Mon Mar 26, 2012 2:05 pm
by narcis
Hi Uli,

Ok, In that case you may need to add the TeeChart sources \VCL folder to Project -> Options -> Delphi Compiler -> Search Path and add the "VCLTee" prefix at "Unit scope names".