AppEvnts.TCustomApplicationEvents.CancelDispatch
Delphi Information
From AppEvnts.pas
procedure CancelDispatch
Unit: AppEvnts
Type: method
Visibility: public
Member Of: TCustomApplicationEvents
C++ Information
From AppEvnts.hpp
void __fastcall CancelDispatch(void);
Unit: AppEvnts
Type: method
Visibility: public
Member Of: TCustomApplicationEvents
Description
Prevents other TCustomApplicationEvents objects from receiving the current event.
Call CancelDispatch from one of the TCustomApplicationEvents descendant's event handlers when it handles an event. CancelDispatch prevents other TCustomApplicationEvents descendant's from receiving the event after the current event handler exits.
CancelDispatch has no effect unless it is called from one of the component's event handlers.