RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataSetAdapterImageField.GetDataSetFieldValue Method

Returns the value of the associated dataset field.

Pascal
function GetDataSetFieldValue(Field: TField): Variant; override;
C++
virtual __fastcall Variant GetDataSetFieldValue(TField Field);

GetDataSetFieldValue returns the value of the associated dataset field, given a field object. This method is called by the implementation of the Value property when there is no OnGetValue event handler. 

Field is the dataset field whose value this adapter field represents. It is the component that the FindField method returns. 

In TCustomDataSetAdapterImageField, GetDataSetFieldValue returns the DisplayText property of the Field parameter. This is the text-readable value of the image field. From server-side script, the image itself is available through the Image property of this adapter field. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!