Forms.TCustomForm.OnActivate
From RAD Studio VCL Reference
Contents |
Delphi Information
From Forms.pas
property OnActivate: TNotifyEvent read FOnActivate write FOnActivate;
Unit: Forms
Type: event
Visibility: protected
Member Of: TCustomForm
C++ Information
From Forms.hpp
__property TNotifyEvent OnActivate;
Unit: Forms
Type: property
Visibility: protected
Member Of: TCustomForm
Description
Occurs when the form becomes active.
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.
See Also
Code Samples