RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IValuesListAdapter.GetListImageOfValue Method

Returns the image object associated with a specified value.

Pascal
function GetListImageOfValue(Value: Variant): TComponent;
C++
__fastcall TComponent * GetListImageOfValue(Variant Value);

GetListImageOfValue looks for a name/value pair with the specified value and returns the object that represents an image associated with that value. The image object is the component that responds to request messages which originate from an anchor tag in an HTML form that refers to the image. 

Value is the value part of the name/value pair whose image you want. 

If Value does not identify a name/value pair with an associated image, GetListImageOfValue returns nil (Delphi) or NULL (C++). 

 

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