Multi-Device 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 > Multi-Device Form - Object Pascal
File > New > Multi-Device Form - C++

The Multi-Device Form wizard gives you the following choices:

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

Uses (Object Pascal)

For an HD Object Pascal multi-device form, the uses section of the .pas file contains the following units (including unit scope names):

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

For a 3D Object Pascal multi-device form, the uses section of the .pas file contains the following units (including unit scope names):

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++ multi-device form, the header file includes the following units:

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

For a 3D C++ multi-device form, the header file includes the following units:

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

See Also