TECH TIP: Class TppDPTeeChart Not Found
If the correct Teechart design time packages are installed, but not loaded, then you will receive this error when attempting to load any form which contains a TppDPTeeChart or TppTeeChart. You can attempt to fix this problem by performing the following:
- Select Components | Install Packages from the Delphi main menu.
- Locate the entry in the packages list for ReportBuilder Teechart x.xx Components. The x.xx version should match the version of Teechart that is installed into Delphi.
- Make sure this checkbox is checked. If it is not checked, then check it. If the package fails to load, then perform a corrupt installation cleanup as described in the Tech Tips | Installation article. Email support if you cannot find this article. support@digital-metaphors.com
- Close the Install Packages Dialog.
- Return to the project manager and reopen the form. The form should load without error messages.
- Save the project.
This fixes the problem for the currently open project. In order to fix it for any new projects, the default package list needs to be updated. To do this:
- Select File | Close All from the Delphi main menu.
- Select Components | Install Packages from the Delphi main menu.
- Locate the entry in the packages list for ReportBuilder Teechart x.xx Components. The x.xx version should match the version of Teechart that is installed into Delphi.
- Make sure the checkbox for this package is checked. If it is not checked, then check it. If the package fails to load, then perform a corrupt installation cleanup as described in the Tech Tips | Installation article. Email support if you cannot find this article. support@digital-metaphors.com
- When the package loads, check the Default checkbox in the lower left hand corner of the dialog.
- Close the Install Packages Dialog.
- Exit Delphi.
- Launch a new session of Delphi.
- Select Components | Install Packages. The package should be checked and loaded.