RAD Studio VCL Reference
|
Occurs before the dispatcher forwards an action to an adapter for execution.
property OnBeforeDispatchAction: TDispatchActionHandledEvent;
__property TDispatchActionHandledEvent OnBeforeDispatchAction;
Write an OnBeforeDispatchAction event handler to respond to action requests before they are forwarded to the associated adapter for execution. Note that if the request does not request the execution of an action, the Params parameter of the event handler is nil (Delphi) or NULL (C++).
If the OnBeforeDispatchAction event handler does not set its Handled parameter to true, the adapter dispatcher forwards the request to the identified adapter that is the value of the Action parameter. If the event handler sets Handled to false, the dispatcher does not forward the request to the adapter for execution, and does not generate an OnAfterDispatchAction event.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|