RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TForm.OnDeactivate Event

Occurs when the form loses focus.

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

Use OnDeactivate to perform special processing when the form transitions from being the active form to another form in the same application becoming the active form. If activation goes to another application, this event is not triggered. To determine if another application has become active, Use the TApplication object's OnDeactivate event. 

 

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