RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TApplication.OnRestore Event

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

Pascal
property OnRestore: TNotifyEvent;
C++
__property TNotifyEvent OnRestore;

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: 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.
Note: You can also respond to this event using the TApplicationEvents component, which allows you to assign an event handler using the IDE.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!