New Items

From RAD Studio
Jump to: navigation, search

Go Up to File Menu

File > New > Other
Project > Add New Project…
Projects Window | right-click on a project node | Add New > Other

Use this dialog box to create a new project or file based on one of the items displayed in the right-hand pane. The New Items dialog box (also known as the Gallery) displays the project templates that are stored in the RAD Studio Object Repository.

Help for New Items: The lower pane in the New Items dialog box displays customized Help for the selected item.

Filtering the New Items: At the top of the New Items dialog box is a filtered search box (Search Glass, further described below) that enables you to search for Gallery items by typing in the name or part of the name.

Dialog Box

Item Description

Item Categories

Click a folder displayed in the left-hand pane to display in the right-hand pane the types of entities that you can create.

The items displayed are not always the same. Items that are currently unavailable because they are not supported in the current context are not displayed in the Gallery. If the context changes, new items may appear. For example, the only ActiveX item that is available when you start a project is ActiveX Library, because you must create an ActiveX Library (a DLL project) to host any of the other ActiveX and COM items (such as ActiveX Control, Automation Object, and COM Object). See Using COM Wizards.

Search GlassSearch

Enter a search string: any part of the name of a project type or file type that you want to locate in the Gallery. The New Items dialog box automatically displays only those items that match the string as you type. Click X to clear the search string.

Two well-known wild cards are supported in the search:

  • * matches as many characters as possible.
  • ? matches any single character.

An inherent * is added to the beginning of each search string that you type, and to the end as well, to allow matching of substrings.

Copy / Inherit / Use

Incorporates the selected template into your project as one of the following:

  • Copy: A direct copy of the template, changing only the unit name.
  • Inherit: A descendant class in a new unit, automatically updated when the project template is changed.
  • Use: The template itself, being edited in your instance of the IDE, so that any changes you make to the template are saved in the location of the template.

For more information, see Copy, Inherit, Use.

Template Libraries

Opens the Template Libraries dialog where you are allowed to add, edit, and remove template libraries (.bdstemplatelib files).

See Also