Vcl.ComCtrls.TListItems.IndexOf

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function IndexOf(Value: TListItem): Integer;

C++

int __fastcall IndexOf(TListItem* Value);

プロパティ

種類 可視性 ソース ユニット
function public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TListItems

説明

リストビューウィンドウ内でのリスト項目の位置を返します。

IndexOf メソッドを呼び出すと,Value パラメータで指定したリスト項目の位置を判定できます。指定したリスト項目がリストビューにない場合,IndexOf は -1 を返します。

関連項目