RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataSetAdapterImageField.OnGetHREF Event

Occurs when the WebSnap application needs the URL that clients use to request this field's image.

Pascal
property OnGetHREF: TImageFieldGetHREFEvent;
C++
__property TImageFieldGetHREFEvent OnGetHREF;

Write an OnGetHREF event handler to specify the URL that addresses this field's image. This event supplies the URL that is the value of the field's Image.AsHREF property in server-side script. 

If you do not supply an URL using an OnGetHREF event handler, the dataset adapter image field constructs one automatically based on the request parameters for the image file. 

 

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