RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
WebDisp.TDispatchImageEvent Type

TDispatchImageEvent is the type for event handlers that respond when an adapter action gets a request for an image field value.

Pascal
TDispatchImageEvent = procedure (Sender: TObject; Image: TObject; Params: TStrings) of object;
C++
(Sender: TObject; Image: TObject; Params: TStrings) ( TDispatchImageEvent)();

TDispatchImageEvent is the type for event handlers of an adapter dispatcher that respond to requests for the image from an image field. 

Sender is the adapter dispatcher component that received the HTTP request message. 

Image is the object that provides the image. If the dispatcher could not find an object to provide the image, this parameter is nil (Delphi) or NULL (C++). 

Params lists the parameters for the image, in 'Name=Value' format. The '__id' parameter gives the name of the requested image. If the current request is not a request to retrieve an image, Params is nil (Delphi) or NULL (C++). 

 

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