RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPropertyPage.OnActivate Event

Occurs when the form becomes active.

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

Use OnActivate to perform special processing when the form receives focus. A form becomes active when focus is transferred to it (when the user clicks on the form, for example).

Note: The OnActivate event of the application (TApplication), not the form, occurs when Windows switches control from another application.
 

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