Vcl.Forms.TApplication.Active

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Active: Boolean read FActive;

C++

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

Properties

Type Visibility Source Unit Parent
property public
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TApplication

Description

Specifies whether the application is active and has focus.

Active is true while the application is active and false if it is not. Active is set to true in the constructor.

An application is active if the form or application has focus. An application becomes inactive when a window from a different application is about to become activated. When the application closes, Active is set to false in the destructor.

Note: Active is read-only.

See Also