RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataSetAdapterImageField.GetAdapterItemRequestParams Method

Provides a unique identifier and a set of name/value pairs that can be used to identify this field's image file.

Pascal
procedure GetAdapterItemRequestParams(var AIdentifier: string; AParams: IAdapterItemRequestParams);
C++
__fastcall GetAdapterItemRequestParams(AnsiString AIdentifier, IAdapterItemRequestParams AParams);

GetAdapterItemRequestParams is used (along with the OnGetHREF event) to identify the URL that addresses the image file associated with this adapter field. When server-side script uses the Image.AsHREF property, this field generates an OnGetHREF event. If an OnGetHREF event handler does not provide a URL for an external file that contains the field's image, then the WebSnap application calls GetAdapterItemRequestParams to obtain the information it needs to locate or construct the field's image. 

AIdentifer returns a unique identifier for this adapter field object. 

AParams is the interface to which GetAdapterItemRequestParams writes a set of name/value pairs that identify the image for this field. 

 

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