RAD Studio
ContentsIndex
PreviousUpNext
Installing Component Packages

All components are installed in the IDE as packages. If you've written your own components, create and compile a package that contains them. Your component source code must follow the model described in Overview of component creation.

To install or uninstall your own components, or components from a third-party vendor

  1. If you are installing a new package, copy or move the package files to a local directory. If the package is shipped with .bpl, be sure to copy all of them. The directory where you store the .dcp file—and the .dcu files, if they are included with the distribution—must be in the Delphi Library Path.
  2. Choose ComponentInstall Packages from the IDE menu, or choose ProjectOptions and click the Packages tab. A list of available packages appears in the Design packages list box.
    • To install a package in the IDE, select the check box next to it.
    • To uninstall a package, uncheck its check box.
    • To see a list of components included in an installed package, select the package and click Components.
    • To add a package to the list, click Add and browse in the Add Design Package dialog for the directory where the .bpl file resides (see step 1). Select the .bpl or .dpc file and click Open. If you select a .dpc file, a new dialog box appears to handle the extraction of the .bpl and other files from the package collection.
    • To remove a package from the list, select the package and click Remove.
  3. Click OK.
The components in the package are installed on the Tool palette pages specified in the components' RegisterComponents procedure, with the names they were assigned in the same procedure. 

New projects are created with all available packages installed, unless you change the ddefault settings. To make the current installation choices into the automatic default for new projects, check the Default check box at the bottom of the Packages tab of the Project Options dialog box. 

To remove components from the Tool palette without uninstalling a package, right-click the component to invoke the context menu and choose Hide "<ComponentName>" Button.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!