RAD Studio VCL Reference
|
Occurs before the dispatcher forwards an image request to an adapter for handling.
property OnBeforeDispatchImage: TDispatchImageHandledEvent;
__property TDispatchImageHandledEvent OnBeforeDispatchImage;
Write an OnBeforeDispatchImage event handler to respond to image requests before they are forwarded to the associated adapter for handling. Note that if the request does not ask for the value of an image field, the Params parameter of the event handler is nil (Delphi) or NULL (C++).
If the OnBeforeDispatchImage event handler does not set its Handled parameter to true, the adapter dispatcher forwards the request to the identified adapter that is the value of the Image parameter. If the event handler sets Handled to false, the dispatcher does not forward the request to the adapter for handling, and does not generate an OnAfterDispatchImage event.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|