FireMonkey Mobile Form

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 > FireMonkey Mobile Form - Object Pascal
File > New > FireMonkey Mobile Form - C++

The FireMonkey Mobile Form Wizard gives you the following choices:

  • HD FireMonkey Form
    Adds a FireMonkey HD mobile form to your FireMonkey application. The FireMonkey HD mobile form is an instance of FMX.Forms.TForm.
  • 3D FireMonkey Form
    Adds a FireMonkey 3D mobile form to your FireMonkey application. The FireMonkey 3D mobile form is an instance of FMX.Forms3D.TForm3D.

Uses (Object Pascal)

An HD Object Pascal mobile form declares the following units in the uses section of its .pas file:

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

A 3D Object Pascal mobile form declares the following units in the uses section of its .pas file:

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

Includes (C++)

For an HD C++ mobile form, , the .h file includes the following units:

#include <System.Classes.hpp>
#include <FMX.Controls.hpp>
#include <FMX.Forms.hpp>

For a 3D C++ mobile form, , the .h file includes the following units:

#include <System.Classes.hpp>
#include <FMX.Controls.hpp>
#include <FMX.Forms.hpp>
#include <FMX.Forms3D.hpp>

See Also