RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TListItems.IndexOf Method

Returns the position of a list item in the list view window.

Pascal
function IndexOf(Value: TListItem): Integer;
C++
__fastcall int IndexOf(TListItem Value);

Call IndexOf to determine the position of the list item specified by the Value parameter. IndexOf returns -1 if the list item is not in the list view. 

 

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