Vcl.Forms.TCustomForm.Active

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

property Active: Boolean read FActive;

C++

__property bool Active = {read=FActive, nodefault};

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
property public
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TCustomForm

Beschreibung

Gibt an, ob das Formular den Fokus hat.

Mit Active kann festgestellt werden, ob das aktuelle Formular aktiv ist. Das aktive Formular empfängt alle Tastatureingaben. Wenn es eine Titelleiste enthält, wird das Formular mit den in der Systemsteuerung festgelegten Farben angezeigt.

Hat Active den Wert true, besitzt das Formular den Fokus. Ist die Eigenschaft auf false gesetzt, ist das Formular nicht aktiv.

Siehe auch