Vcl.AppEvnts.TCustomApplicationEvents.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TCustomApplicationEvents(System::Classes::TComponent* AOwner);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Vcl.AppEvnts.pas Vcl.AppEvnts.hpp |
Vcl.AppEvnts | TCustomApplicationEvents |
Description
Creates a new TCustomApplicationEvents object.
Call Create to instantiate TCustomApplicationEvents at runtime. Components added to forms at design time are created automatically.
Create adds the component to the internal list of components that respond to the application's events. Once the component is created, it responds to any of the application events unless another TCustomApplicationEvents component prevents it by calling CancelDispatch.