RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFieldValuesValueField.ImplAsFormatted Method

Returns text used to display a read-only representation of the value associated with this adapter field.

Pascal
function ImplAsFormatted: string; override;
C++
virtual __fastcall AnsiString ImplAsFormatted();

ImplAsFormatted determines whether the adapter field using TFieldValuesAdapter has a values list. If a values list is available, the values list is used to look up a value name to return. If there is no values list or no value name, the result of ImplGetValue is returned. Server-side script accesses the result of this function using the DisplayText property of this adapter field. ImplAsFormatted overrides TAdapterNamedField's ImplAsFormatted method. 

 

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