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

# TApplication.OnMinimize

Event handler signalled when the application is minimized.

## Declaration

Source position: forms.pp line 1755

`public property TApplication.OnMinimize : TNotifyEvent read FOnMinimize write FOnMinimize;`

## Description

OnMinimize is a TNotifyEvent property with the event handler signalled when the application has been minimized (iconified in GTK terminology). The application is minimized when its main form is also minimized.

OnMinimize is signalled when the IntfAppMinimize method is called by the widgetset class, and occurs before other application handlers using the ahtMinimize type are notified.

Use OnRestore to perform actions when the main form is restored from its minimized state.

## See also

TApplication.IntfAppMinimize |  | Called by the interface when the application is minimized.
TApplication.OnRestore |  | Event handler signalled when the application is restored from a minimized / maximized state.
TApplicationHandlerType |  | Types of Application notification handlers.