Setting Project Options

From the Project Manager (or from the Project menu), you can invoke the Project Options dialog. The first page of Project Options, named Forms, lists the forms that should be created automatically at program startup (the default behavior) and the forms that are created manually by the program. You can easily move a form from one list to the other. The next page, Application, is used to set the name of the application and the name of its Help file, and to choose its icon. Other Project Options choices relate to the Delphi compiler and linker, version information, and the use of run-time packages.

There are two ways to set compiler options. One is to use the Compiler page of the Project Options, the other is to set or remove individual options in the source code with the {$X+} or {$X-} commands, where X is the option you want to set. This second approach is more flexible, since it allows you to change an option only for a specific source code file, or even for just a few lines of code.

All of the Project Options are saved automatically with the project, but in a separate file with a DOF extension. This is a text file you can easily edit. You should not delete this file if you have changed any of the default options.

Was this article helpful?

0 0
Project Management Made Easy

Project Management Made Easy

What you need to know about… Project Management Made Easy! Project management consists of more than just a large building project and can encompass small projects as well. No matter what the size of your project, you need to have some sort of project management. How you manage your project has everything to do with its outcome.

Get My Free Ebook

Post a comment