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

# TApplicationFlag

Application state flags.

## Declaration

Source position: forms.pp line 1360

`type TApplicationFlag = (`
`AppWaiting,` |  | Application is in an Idle state and waiting for a message.
`AppIdleEndSent,` |  | IdleEnd handlers have been notified of message arrival; end the idle state for the application.
`AppNoExceptionMessages,` |  | Suppresses exception display for the application; set when an exception is aborted in the application.
`AppActive,` |  | The application has focus; prevents recursive application activation.
`AppDestroying,` |  | Shutting down; set when the application instance is freed.
`AppDoNotCallAsyncQueue,` |  | Skip asynchronous callbacks between handled messages.
`AppInitialized` |  | Application has been initialized.
`);`

## Description

TApplicationFlag is an enumeration type with values that represent activity or state in an application. TApplicationFlag values are stored in the TApplicationFlags type used to implement the Flags property in TApplication.

## See also

TApplicationFlags |  | Set type used to store values from the TApplicationFlag enumeration.
TApplication.Flags |  | Contains state flags for the application.