Creating a FireMonkey Application
Go Up to FireMonkey Application Design
You can create FireMonkey applications for any supported target platform using either Object Pascal or C++. FireMonkey applications can be either HD (2D) or 3D, or can contain a mixture of both.
- Notes:
- You can not build C++ applications for the iOS Simulator target platform.
- Although you can technically create a Object Pascal or C++ console application that uses FireMonkey, the vast majority of FireMonkey is geared toward building GUI applications. FireMonkey contains very few non-GUI types and functions.
FireMonkey Application Wizards
Choose the development language and whether the main form should be HD or 3D. You can also choose a template application instead of starting your application from scratch.
- Object Pascal
- Multi-Device Applications
- File > New > [ Other > Object Pascal Projects > ] Multi-Device Application > Blank Application
- File > New > [ Other > Object Pascal Projects > ] Multi-Device Application > 3D Application
- File > New > [ Other > Object Pascal Projects > ] Multi-Device Application > <Template Name>
- FireMonkey Metropolis UI Applications (Windows 8 style):
- File > New > Other > Object Pascal Projects > FireMonkey Metropolis UI Application
- Multi-Device Applications
- C++:
- Multi-Device Applications
- File > New > [ Other > C++ Projects > ] Multi-Device Application > Blank Application
- File > New > [ Other > C++ Projects > ] Multi-Device Application > 3D Application
- File > New > [ Other > C++ Projects > ] Multi-Device Application > <Template Name>
- FireMonkey Metropolis UI Applications (Windows 8 style):
- File > New > Other > C++ Projects > FireMonkey Metropolis UI Application
- Multi-Device Applications
When you run one of the FireMonkey wizards, the IDE creates the framework for a FireMonkey application and opens the Form Designer, displaying the main form and a new subclass of either TForm or TForm3D.
FireMonkey Form Wizards
Add additional forms using the correct language and choosing either HD or 3D:
- File > New > Other > Object Pascal Projects > Object Pascal Files > Multi-Device Form > HD Form
- File > New > Other > Object Pascal Projects > Object Pascal Files > Multi-Device Form > 3D Form
- File > New > Other > C++ Projects > C++ Files > Multi-Device Form > HD Form
- File > New > Other > C++ Projects > C++ Files > Multi-Device Form > 3D Form
The New Items dialog box can also be reached by right-clicking the project executable in the Project Manager and selecting: Add New > Other.
Every FireMonkey form unit has a companion form file with the extension .fmx
.