RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomForm.Activate Method

Activation event dispatcher.

Pascal
procedure Activate; dynamic;
C++
__fastcall Activate();

Activation is the event dispatcher for form activations. 

The form component calls Activate in response to the CM_ACTIVATE message, sent when a form gets the focus either because of a change in active windows within an application or because of the application becoming active. As defined in TCustomForm, Activate simply calls the OnActivate event handler. 

 

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