Vcl.ComCtrls.TListItems.IndexOf

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function IndexOf(Value: TListItem): Integer;

C++

int __fastcall IndexOf(TListItem* Value);

Properties

Type Visibility Source Unit Parent
function public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TListItems

Description

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

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.

See Also