Using project templates from the Object Repository (IDE Tutorial)

From Appmethod Topics
Jump to: navigation, search

Go Up to Starting your first Appmethod 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 Appmethod, click File > New and then (depending on the language you want to use) choose either:

  • FireMonkey Desktop Application - C++
  • FireMonkey Desktop Application - Object Pascal.

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

TutorialIDEFig3-1.png
Description of basic options in the File menu
TutorialIDEFig3-2HotPocket.png
The File > New submenu

This tutorial uses the FireMonkey Desktop 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....

NewItemsDialogBox.png
The New Items dialog box

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

After you click the FireMonkey Desktop Application menu item to create a FireMonkey desktop project, several files are automatically generated, including the main form. After files are generated, the main form is displayed in the Form Designer.

TutorialIDENewFig3-3kh2.PNG
The default layout for creating a Appmethod application (Object Pascal view)
TutorialIDENewFig3-4kh2.PNG
The default layout for creating a Appmethod application (C++ view)

Next

Basic customization of the main form