RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAbstractFieldValuesAdapter.ImplNextIteration Method

Provides the underlying implementation for the NextIteration method.

Pascal
function ImplNextIteration(var OwnerData: Pointer): Boolean; override;
C++
virtual __fastcall Boolean ImplNextIteration(void * OwnerData);

The NextIteration method calls ImplNextIteration when iterating over field values to determine whether there is another field value after the current one and if so, to change the current value to the next one. 

OwnerData is a pointer to adapter-specific data that can affect the way it iterates over field values. On entry, this value is typically the same as the value returned by the last call to NextIteration or to StartIterator

In TAbstractFieldValuesAdapter, ImplNextIteration always returns false, because TAbstractFieldValuesAdapter does not implement support for iteration. Descendant classes that support iterating over field values override this method to check whether their is a next value and if so, move to it. 

 

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