FMX.Forms.ApplicationState
Delphi
function ApplicationState: TApplicationState;
C++
extern DELPHI_PACKAGE TApplicationState __fastcall ApplicationState(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Forms.pas FMX.Forms.hpp |
FMX.Forms | FMX.Forms |
Description
Returns the application state at any given moment in time.
Calling the ApplicationState method returns the application's state which can be one of the following TApplicationState items:
Name | Description |
---|---|
None
|
No state. |
Running
|
The application is running. |
Terminating
|
The application is in a terminating state. |
Terminated
|
The application has terminated. |