[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Forms' (#lcl)

TApplication.Active

True if the application is focused.

Declaration

Source position: forms.pp line 1717

public property TApplication.Active : Boolean
  read GetActive;

Description

Active is a read-only Boolean property which indicates if the application is focused. Returns True if the AppActive flag has been included in the Flags for the application.

The value in Active (and Flags) is updated when the private Activate or Deactivate methods are called.

See also

TApplication.Flags

  

Contains state flags for the application.

TApplicationFlags

  

Set type used to store values from the TApplicationFlag enumeration.

TApplicationFlag

  

Application state flags.


Version 3.2 Generated 2024-02-25 Home