HD FireMonkey Application

From Appmethod Topics
Jump to: navigation, search

Go Up to File Menu

Go Up to Wizards for Creating FireMonkey Multi-Device Applications and Components

File > New > Other > C++ Projects > FireMonkey Desktop Application > HD FireMonkey Application
File > New > Other > Object Pascal Projects > FireMonkey Desktop Application > HD FireMonkey Application

Creates the framework for an HD FireMonkey application and opens the Form Designer, displaying the base form (FMX.Forms.TForm). For every FireMonkey application, the form file has the extension .fmx.

You can set the target platform for a FireMonkey HD application to be any of the following:

  • 32-bit Windows
  • 64-bit Windows
  • OS X

Uses (Object Pascal)

For a Object Pascal FireMonkey HD application, the uses section of the .pas file contains the following units (including unit scope names):

System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs;

Includes (C++)

For a C++ FireMonkey HD application, the unit .h file includes the following:

#ifndef UnitnameH
#define UnitnameH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <FMX.Controls.hpp>
#include <FMX.Forms.hpp>

The project .cpp file contains:

 #include <fmx.h>
 #pragma hdrstop
 #include <tchar.h>

The unit .cpp file includes the following:

 #include <fmx.h>
 #pragma hdrstop
 #include "Unitname.h"

See Also