New Items

From RAD Studio
Jump to: navigation, search

Go Up to File Menu


File > New > Other
Project > Add New Project…
Project Manager | 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.

Help/comments field

Displays a description of the selected item, when available. This field does not appear when you are viewing the Gallery as Details (using the context-menu commands).

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.

Tip: Right-click in the right-hand pane to display a context menu for controlling your view of this dialog box (large or small icons, list or details) and the arrangement of the items. The context menu also allows you to open the Object Repository directly (you can edit, move, and delete the project template libraries).

See Also