0
votes

I have a project with a unit that includes VCLTee.TeeComma in its uses clause an declares an object of class TeeCommander. When I open the unit I get the error: "Class TTeeCommander not found."

The same thing happens with a unit that includes VCLTee.Chart.TeeChart with the error "Class TChart not found."

I believe that the installer for TeeChart Pro 2013 worked correctly. Moreover, I have included the path to the required .dcu files in my Tools > Options > Delphi Options > Library and I can see that VCLTee.TeeComma.dcu and VCLTee.Chart.TeeChart.dcu are in that path.

Moreover, the namespace and scoping appears correct as far as I can tell.

Why might the IDE have trouble finding these files?

Interestingly, I don't find any of the "Tee" components on my Tool Palette. Maybe this is because the package was not installed with the "Install Packages" option in the IDE. I thought that running the .exe installer should have been enough.

1

1 Answers

1
votes

At design time the implementations for the classes of a third party library are provided in a design time package. So, if your IDE cannot find the classes then the Teechart design time packages must be missing from the IDE.

I can't say why they are missing, and which ones you need to add to the IDE. From memory I think that you can add them from the Component | Install Packages menu.

Perhaps the best solution would be to uninstall Teechart, and go through the installation process again.