appevents OnRestore event
Return to Introduction  Previous page  Next page
Applies to
acAppEvents component.  

Declaration
property OnRestore: TNotifyEvent;  

Description
The OnRestore event 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
iiwarning Don't 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.  

See also
OnMinimize event.