RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAbstractFieldValuesAdapter.ImplGetValueIndex Method

Provides the underlying implementation for the GetValueIndex method.

Pascal
function ImplGetValueIndex: Integer; virtual; abstract;
C++
virtual __fastcall int ImplGetValueIndex() = 0;

The GetValueIndex method calls ImplGetValueIndex to obtain the index of current value of this adapter's single field. Unlike the GetValueIndex method, ImplGetValueIndex is virtual, so that descendant classes can override it to provide a class-specific mechanism for obtaining this index. 

In TAbstractFieldValuesAdapter, ImplGetValueIndex is abstract or, in C++ terminology, pure virtual, meaning it has no implementation. Descendant classes must override this method to provide an implementation for the GetValueIndex method. 

 

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