RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOrderedList.PeekItem Method

Returns a pointer to the next item in the list.

Pascal
function PeekItem: Pointer; virtual;
C++
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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!