Vcl.Forms.TApplication.OnActivate
Delphi
property OnActivate: TNotifyEvent read FOnActivate write FOnActivate;
C++
__property System::Classes::TNotifyEvent OnActivate = {read=FOnActivate, write=FOnActivate};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | Vcl.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | TApplication |
Description
Occurs when an application becomes active.
Write an OnActivate event handler to perform special processing when the application becomes active.
An application becomes active when it is initially run or when focus moves from another Windows application back to any window of the application.
Note: You can also respond to this event using the TApplicationEvents component, which allows you to assign an event handler using the IDE.
See Also
- Vcl.Forms.TApplication.Active
- Vcl.Forms.TApplication.OnDeactivate
- Vcl.AppEvnts.TCustomApplicationEvents.OnActivate