RAD Studio VCL Reference
TOrderedList.PeekItem Method

Returns a pointer to the next item in the list.

function PeekItem: Pointer; virtual;
virtual __fastcall void * PeekItem();

The protected PeekItem method provides the underlying implementation for the Peek method. It returns the last item in the list specified by the List property. 

Override this method to return a different item in descendant classes that do not maintain the list in reverse output order. 


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