RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapterMultiValueField.ImplHasValue Method

Implements IWebGetFieldValues' HasValue method.

Pascal
function ImplHasValue(const Value: Variant): Boolean; override;
C++
virtual __fastcall Boolean ImplHasValue(const Variant Value);

ImplHasValue overrides TBaseAdapterMultiValueField's ImplHasValue method. If the OnHasValue event is not nil (Delphi) or NULL (C++), it will be called for the result of ImplHasValue. Otherwise, ImplHasValue will loop through the values of the adapter field, looking for a matching value. 

 

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