Vcl.Forms.TApplication.OnMinimize

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnMinimize: TNotifyEvent read FOnMinimize write FOnMinimize;

C++

__property System::Classes::TNotifyEvent OnMinimize = {read=FOnMinimize, write=FOnMinimize};

Properties

Type Visibility Source Unit Parent
event public
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TApplication

Description

Occurs when an application is minimized.

Write an OnMinimize event handler to perform special processing when the application is minimized. The application is minimized either because the user minimizes the main window or because of a call to the Minimize method. The Icon property determines the icon that represents the minimized application.

Note: You can also respond to this event using the TApplicationEvents component, which allows you to assign an event handler using the IDE.

See Also

Code Examples