appevents OnDeactivate event
Return to Introduction  Previous page  Next page
Applies to
acAppEvents and acAppBar components.  

property OnDeactivate: TNotifyEvent;  

The OnDeactivate event occurs when the user switches from your application to another Windows application. Use the OnDeactive event to do any special processing you want to occur before your application is deactivated.  

See also
OnActivate event.