Add dialog box, Add Unit tab

From RAD Studio
Jump to: navigation, search

Go Up to File Menu


Contains node in the Projects Window | Add...

Use the Add Unit tab of the Add dialog box to add a package to the Contains clause in the current package (and, at the same time, to the Contains node in the Project Manager).

Item Description

Unit file name

Enter the unit name of the package (that is, .pas file) to add to your project's Contains clause and to display in the Contains node in the Project Manager. If the package is in the Search path, a full path name is not required. (If the package directory is not in the Search path, the search path will be added to the end.)

Click the Browse button to search for files to add.

Search path

If you haven't included a full directory path in the Unit file name edit box (see above), make sure this list contains the directory where your package resides. If you add a directory in this Search path edit box, you will be changing the Global Library Search Path, which is used, for example, in Code Browsing and many other IDE features.