RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataSetAdapterImageField.HandleRequest Method

Handles incoming requests for the image value of this field.

Pascal
function HandleRequest(DispatchParams: IAdapterDispatchParams): Boolean;
C++
__fastcall Boolean HandleRequest(IAdapterDispatchParams DispatchParams);

The adapter dispatcher calls HandleRequest to process incoming request messages directed at this adapter field. HandleRequest interprets the incoming parameters that accompany the request, uses them to locate the image that is the value of this field, and writes that image to the current response. 

DispatchParams is an interface for reading the parameters that accompanied the incoming request message. These parameters, which originated from the GetAdapterItemRequestParams method, identify the image that is the value of this field. 

HandleRequest delegates the task of processing the image request to the ImplHandleRequest method. ImplHandleRequest then obtains the image by generating an OnGetImage event or by retrieving the value of the associated graphic field object. 

 

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