Vcl.StdCtrls.TCustomListBox.GetSelected

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

Delphi

function GetSelected(Index: Integer): Boolean;

C++

bool __fastcall GetSelected(int Index);

プロパティ

種類 可視性 ソース ユニット
function protected
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomListBox

説明

特定の項目が選択されているかどうかを示します。

GetSelected は,Selected プロパティの読み出しプロテクト実装です。このメソッドは,Index で指定された項目が選択されていれば true を,そうでなければ false を返します。