Sharing objects

 

The Object Repository (Tools|Repository) is a versatile tool that makes it possible to easily share (or copy) forms, dialog boxes, and data modules across projects and within a single project. It also provides project templates as starting points for new projects. By adding forms, dialog boxes, and data modules to the Object Repository, you make them available to other projects. In fact, you can add an entire project to the Object Repository as a template for future projects.

You’ll also see wizards in the Object Repository. Wizards are small applications that lead you through a series of dialog boxes to create a form or project. The product provides a number of wizards, and you can also create and add your own customized wizards to simplify and standardize your work.

The repository stores settings in a text file named delphi32.dro (Delphi repository objects) in the \BIN directory that contains references to the items that appear in the Object Repository dialog box and the New Items dialog box. You can open this file in any text editor.