RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapterDispatcher.DoAdapterRequestNotHandled Method
Pascal
procedure DoAdapterRequestNotHandled(AObject: TObject; var AHandled: Boolean);
C++
__fastcall DoAdapterRequestNotHandled(TObject * AObject, Boolean AHandled);

TCustomAdapterDispatcher calls DoAdapterRequestNotHandled internally when an adapter request remains unhandled. The request may be unhandled because the adapter could not execute the requested action or obtain the requested image, or it may be unhandled because the dispatcher could not locate an adapter to handle the request. 

DoAdapterRequestNotHandled assembles the parameters for an action request and generates an OnActionRequestNotHandled event. It then assembles the parameters for an image request and generates an OnImageRequestNotHandled event. 

AObject is the adapter that failed to handle the request (or nil (Delphi) or NULL (C++) if the dispatcher could not locate an adapter for the request). 

AHandled returns true if an event handler handled the request. 

 

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