FMX.Forms.TScreen.ActiveForm

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

property ActiveForm: TCommonCustomForm read GetActiveForm write SetActiveForm;

C++

__property TCommonCustomForm* ActiveForm = {read=GetActiveForm, write=SetActiveForm};

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
property public
FMX.Forms.pas
FMX.Forms.hpp
FMX.Forms TScreen

Beschreibung

Gibt an, welches Formular aktuell den Fokus hat.

Mit ActiveForm können Sie ermitteln, welches Formular in der Anwendung den Eingabefokus hat. Wenn die Anwendung aktuell nicht aktiv ist, ist ActiveForm das Formular, das den Fokus beim erneuten Aktivieren der Anwendung besitzt.

ActiveForm ist eine schreibgeschützte Eigenschaft. Mit der Methode Active des Formulars, das den Fokus erhalten soll, ändern Sie das ActiveForm-Objekt.

Siehe auch