The following table describes the Application object’s events.
Event | Purpose |
---|---|
ApplicationExit | Occurs when the application is about to shut down. |
Idle | Occurs when the application finishes executing some code and is about to enter an idle state to wait for events. |
ThreadException | Occurs when the application throws an unhandled exception. |
ThreadExit | Occurs when a thread is about to exit. |