RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
WebAdapt.TGetRecordIndexEvent Type

TGetRecordIndexEvent is the type for event handlers that indicate which of multiple values an adapter is positioned on.

Pascal
TGetRecordIndexEvent = procedure (Sender: TObject; var Index: Integer) of object;
C++
(Sender: TObject; var Index: Integer) ( TGetRecordIndexEvent)();

Sender is the adapter that has multiple values over which the application can iterate. 

Index returns the index of the current value. This is 0 if the adapter is positioned on the first value, 1 if it is positioned on the second value, and so on. 

 

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