RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAdapterImageField Class

TAdapterImageField is an event handler based adapter field that can provide the URL of an image file and also accept an uploaded image file.

Pascal
TAdapterImageField = class(TCustomAdapterImageField);
C++
class TAdapterImageField : public TCustomAdapterImageField;

TAdapterImageField publishes the properties in TCustomAdapterImageField. TCustomAdapterImageField calls event handlers to retrieve the adapter field's image file name, image file, and image file URL. It also defines event handler that are called to validate files uploaded by the end-user, and update the adapter field's image file. 

Add TAdapterFileField to TAdapter or other adapter components types when you need an adapter field that supports an image using event handlers. There are other adapter field components that use event handlers. They differ in the type and number of values that are supported. See TAdapterField, TAdapterMultiValueField, TAdapterMemoField, TAdapterBooleanField and TAdapterFileField

 

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