AppEvnts.TApplicationEvents

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From AppEvnts.pas

TApplicationEvents = class(TCustomApplicationEvents)


Unit: AppEvnts

Type: class

Inherited Class Members: AppEvnts.TApplicationEvents Members

C++ Information

From AppEvnts.hpp

TApplicationEvents = class(TCustomApplicationEvents)


Unit: AppEvnts

Type: class

Inherited Class Members: AppEvnts.TApplicationEvents Members

Class Constructors & Destructors: AppEvnts.TApplicationEvents Constructors

Description

TApplicationEvents intercepts application-level events.


Use TApplicationEvents to intercept the events of the global Application object. When you add a TApplicationEvents object to a form, the Application object forwards all events to the TApplicationEvents object. Thus, each event of the TApplicationEvents object is the same as the event with the same name on the Application object.

Each form in an application can have its own TApplicationEvents object. Each application event occurs for all the TApplicationEvents objects in the project. To change the order in which the different TApplicationEvents objects receive events, use the Activate method. To prevent other TApplicationEvents objects from receiving a specific event, use the CancelDispatch method.

See Also

Personal tools
Translations
Newest Version