FMX.Forms.TApplication.GetDeviceForm

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

function GetDeviceForm(const FormFamily: string; const FormFactor: TFormFactor): TCommonCustomForm; overload;
function GetDeviceForm(const FormFamily: string): TCommonCustomForm; overload;

C++

TCommonCustomForm* __fastcall GetDeviceForm(const System::UnicodeString FormFamily, TFormFactor* const FormFactor)/* overload */;
TCommonCustomForm* __fastcall GetDeviceForm(const System::UnicodeString FormFamily)/* overload */;

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function public
FMX.Forms.pas
FMX.Forms.hpp
FMX.Forms TApplication

Beschreibung

Zur Laufzeit intern aufgerufene Funktion zum Entscheiden, welches Formular instantiiert wird.

GetDeviceForm sucht und instantiiert das Formular, dessen Abmessungen zum aktuellen Display passen. Dies wird durchgeführt, wenn mehrere Formulare mit demselben FormFamily-Objekt verfügbar sind.

Siehe auch