RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseAdapterAction.DoBeforeExecuteActionRequest Method

Calls event handlers before the adapter action is executed.

Pascal
procedure DoBeforeExecuteActionRequest(AActionRequest: IActionRequest; AActionResponse: IActionResponse); virtual;
C++
virtual __fastcall DoBeforeExecuteActionRequest(IActionRequest AActionRequest, IActionResponse AActionResponse);

DoBeforeExecuteActionRequest is called by ExecuteActionRequest. DoBeforeExecuteActionRequest packages the action request parameters into TStrings and calls two event handlers. The parent adapter's OnBeforeExecuteAction event handler is called first. If it does not handle the action request then the OnBeforeExecute event handler is called. If either event handler handles the request then the IActionRequest's Handled property is set to true. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!