Multi-Device Form

From RAD Studio
Jump to: navigation, search

Go Up to File Menu


File > New > Multi-Device Form - Delphi
File > New > Multi-Device Form - C++Builder

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 (Delphi)

For an HD Delphi 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 Delphi 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