RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomApplicationEvents.Create Constructor

Creates a new TCustomApplicationEvents object.

Pascal
constructor Create(AOwner: TComponent); override;
C++
virtual __fastcall TCustomApplicationEvents(TComponent * AOwner);

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

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!