From RAD Studio API Documentation
Jump to: navigation, search


property OnRestore: TNotifyEvent read FOnRestore write FOnRestore;


__property System::Classes::TNotifyEvent OnRestore = {read=FOnRestore, write=FOnRestore};


Type Visibility Source Unit Parent
event public
Vcl.Forms TApplication


Occurs when the previously minimized application is restored to its normal size.

Write an OnRestore event handler to perform special processing when the application is restored from the minimized state, in which it appears as an icon. An application is restored either because the user restores the application or because the application calls the Restore method.

Note: Do not confuse restoring an application with restoring a form or window to its original size. To minimize, maximize, and restore a window or form, change the value of the WindowState property.

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