WebAdapt.TImageFieldGetHREFEvent

From RAD Studio API Documentation
Jump to: navigation, search

C++

typedef void __fastcall (__closure *TImageFieldGetHREFEvent)(System::TObject* Sender, System::UnicodeString &HREF);

Properties

Type Visibility Source Unit Parent
typedef public WebAdapt.hpp WebAdapt WebAdapt

Description

TImageFieldGetHREFEvent is the type for event handlers that supply an URL that can be used to access an image field associated with an adapter field..

TImageFieldGetHREFEvent is the type for the OnGetHREF event handler of an adapter field whose value is an image. This event handler lets you supply the URL that clients use to retrieve the image associated with the adapter field. The event occurs when server-side script uses the AsHREF property of the adapter field.

Sender is the adapter field object that represents an image.

Handled returns an indication of how the adapter dispatcher should proceed after the event handler exits. If the HREF returns the URL that clients use to request the field's image from the adapter field. If the TImageFieldGetHREFEvent event handler does not supply a URL, the adapter field generates an URL automatically based on the request parameters for the image file.

See Also

Personal tools
Translations