Wikia

Delphi Programming

Tools Menu

Talk0
2,909pages on
this wiki

The Delphi IDE has got a special menu called Tools. This menu by default contains several entries like

  • Options
  • Repository
  • Configure Tools ...
  • License Manager
  • Quality Central

The first three of these entries are static. The last two call external programs and are preconfigured by the installer.

In addition, 3rd party IDE extensions might add their own entries to the Tools menu. Also, using the Configure Tools option, you can add your own entries to this menu.

As an example we will add an Explore Project Directory entry, that opens the Windows Explorer showing the directory that contains the current project's .dpr file:

  1. Click Tools / Configure Tools ..., the Tool Options dialog is displayed
  2. Click Add ..., the Tool Properties dialog is displayed
  3. Enter "Explore Project Directory" as the Title
  4. Enter "explorer" as the Program
  5. Leave the Working dir empty
  6. Enter $PATH($PROJECT) as Parameters
  7. Press OK

ExplorerProjectDirectory

The Tools menu now contains a new entry Explore Project Directory. If you click it while a project is open, it will open the Windows Explorer and show the directory that contains the project's .dpr file. If no project is open, it will show you "My Documents" directory.

←==See also==

Around Wikia's network

Random Wiki