Page 1 of 1

TeeTools on form not available

Posted: Mon Jun 21, 2010 4:29 pm
by 16556124
Hello,

on my project, a form contains a TeeChart, which contains a ScrollTool.
When I open the form, I get an error message, that the scroll tool is not available.

I found two ways to make it available.
1. When I add a TeeChart on the main form, then add a ScroolTool, then delete that chart immediately, the problem is gone.
From then on, I can open any form and get all charts and tools.

2. When I get the errormessage and tell the IDE to ignore all problems, then close the form without storing, on the next reopen of the same form the problem is gone.

Using :
Delphi2010 Update 4
XP SP3
The TeeChart path is r:\AddOns\TeeChart Pro 2010\Sources\Compiled\Delphi14\Bin\
where r:\ is a mapped local path (using the subst command), that points to c:\compiler
That path contains the files dcltee914.bpl, dclteemaker114.bpl, dclteepro914.bpl, dclteeprostd914.bpl
The files in Windos\system32 mathes that bpls in date/time.

Any idea ?

Regards
Gerhard Sachs

Re: TeeTools on form not available

Posted: Wed Jun 23, 2010 8:36 am
by narcis
Hi Gerhard,

Most likely your application is not finding TeeTools.dcu. It should be in TeeChart's "Lib" folder. You should add TeeChart's "Bin" and "Lib" folders at the Search Path list at Project -> Options -> Directories/Conditionals and finally enable the left-bottom "Default" checkbox.

Hope this helps!

Re: TeeTools on form not available

Posted: Sat Jun 26, 2010 10:34 am
by 16556124
Hello Narcis,

sorry, it did not help.

TeeCharts Lib and Bin folder are both in the search path and the library path.

The entries are :
c:\compiler\AddOns\TeeChart Pro 2010\TeeTree\compiled\Delphi14\lib
c:\compiler\AddOns\TeeChart Pro 2010\TeeTrtee\compiled\Delphi14\bin
c:\compiler\AddOns\TeeChart Pro 2010\sources\compiled\Delphi14\lib
c:\compiler\AddOns\TeeChart Pro 2010\sources\compiled\Delphi14\bin

The bin directory contains the 4 files
dcltee914.bpl
dclteemaker114.bpl
dclteepro914.bpl
dclteeprostd914.bpl

The lib directory contains a lot of dcu's including the TeeTools.dcu

In addition, I tried :
1. Remove any TeeChart bpl from the windows\system32 folder with the exception of the Delphi2010 files.
2. Copy the teeTools.dcu to my projects source folder.
3. Rename all other TeeChart folders than the current to something different to make sure it can not be found.

Nothing helped.

It seems that just the tools that are already added to the chart make problems.
When clicked away the error messages by 'ignore all', the contains no tools.
But the tool pallette contains the tools including the axis scroll tool.

Regards
Gerhard Sachs

Re: TeeTools on form not available

Posted: Sat Jun 26, 2010 10:38 am
by 16556124
Sorry, I typed too fast.

The last block must read
It seems that just the tools that are already added to the chart make problems.
When I clicked away the error messages by 'ignore all', the chart contains no tools.
But the tool pallette contains all the tools including the axis scroll tool.

Re: TeeTools on form not available

Posted: Mon Jun 28, 2010 2:49 pm
by yeray
Hi Gerhard,

Is this only reproducible with an "old" project? If you can't reproduce this creating a new project, it will probably be that your project contains some invalid reference or is missing one that needs. To correct this, I'm afraid you should edit manually (with notepad or similar) your "old" project files (.dpr, .dproj,...) and correct the wrong references, if any.

If the problem persists, please don't hesitate to let us know.

Re: TeeTools on form not available

Posted: Mon Jun 28, 2010 3:26 pm
by 16556124
Hello Yeray,

it seems you were right.
I deleted the .res file, Delphi created a new one automatically and now the problem is gone.

The original project was created with Delphi2006, then copied and opended with Delphi2010.

Thank you very much for the help.
Gerhard Sachs

Re: TeeTools on form not available

Posted: Mon Jun 28, 2010 4:15 pm
by yeray
Hi Gerhard,

You're welcome! I'm happy to see that you've found it!