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

# TApplication.OnRestore

Event handler signalled when the application is restored from a minimized / maximized state.

## Declaration

Source position: forms.pp line 1759

`public property TApplication.OnRestore : TNotifyEvent read FOnRestore write FOnRestore;`

## Description

OnRestore is a TNotifyEvent property with the event handler signalled when the application is restored from a minimized / maximized state. It is signalled from the IntfAppRestore method, and occurs before other application handlers using the ahtRestore type are notified.

Use OnMinimize to respond to the notification when the application is minimized.

## See also

TApplication.IntfAppRestore |  | Called by the interface when the application is restored.
TApplication.AddOnRestoreHandler |  | Adds an application exiting minimized state handler.
TApplication.RemoveOnRestoreHandler |  | Removes an application exiting minimized state handler.
TApplication.OnMinimize |  | Event handler signalled when the application is minimized.
TApplicationHandlerType |  | Types of Application notification handlers.