Show: Delphi C++
Display Preferences

Using project templates from the Object Repository (IDE Tutorial)

From RAD Studio XE2
Jump to: navigation, search

Go Up to Starting your first RAD Studio application Index (IDE Tutorial)


In the IDE, you typically create projects by opening project templates from the Object Repository, and you do this by clicking File > New.

To create this project in RAD Studio, click File > New and then (depending on the language you want to use) choose either:

  • VCL Forms Application > C++Builder
  • VCL Forms Application > Delphi.

At this point, the File menu and its New command submenu should be displayed as in the two following screenshots.

TutorialIDEFig3-1.png

Figure 3-1. Description of basic options in the File menu


TutorialIDEFig3-2kh2.png

Figure 3-2. The File > New submenu

This tutorial uses the VCL Forms Application template available on the File > New submenu. But many additional project templates are available on the New Items dialog box, which you can open by choosing File > New > Other....

TutorialIDEFig3-3kh.jpg

Figure 3-3. The New Items dialog box

From the New Items dialog box, you can create many types of C++ or Delphi projects, as well as unit tests, Web documents, 3rd-party projects, and more.


After you click the VCL Forms Application menu item to create a VCL forms project, several files are automatically generated, including the main form. After files are generated, the main form is displayed in the Form Designer. The next figures show screenshots of the IDE at this step, for Delphi and C++Builder, respectively.


TutorialIDENewFig3-3kh2.PNG

Figure 3-4. The default layout for creating a RAD Studio application (Delphi view)


TutorialIDENewFig3-4kh2.PNG

Figure 3-4a. The default layout for creating a RAD Studio application (C++Builder view)

Next

Basic customization of the main form

Personal tools
Previous Versions
In other languages