RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataSetAdapterImageField.CreateRequestContext Method

Creates an object that describes the adapter action parameters and adapter field values.

Pascal
procedure CreateRequestContext(DispatchParams: IAdapterDispatchParams);
C++
__fastcall CreateRequestContext(IAdapterDispatchParams DispatchParams);

CreateRequestContext creates a new request context based on the specified parameters and stores it with the global Web context. The adapter dispatcher calls this function before calling HandleRequest. The WebSnap can access the resulting request context by reading the AdapterRequest property of the Web context, which is available through the global WebContext function. 

DispatchParams is an interface that contains the parameters that were included in the incoming request. These parameters can then be used to identify an image for this field's value. 

 

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