Vcl.ComCtrls.TCustomTreeView.Select

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

Delphi

procedure Select(Node: TTreeNode; ShiftState: TShiftState = []); overload; virtual;
procedure Select(const Nodes: array of TTreeNode); overload; virtual;
procedure Select(Nodes: TList); overload; virtual;

C++

virtual void __fastcall Select(TTreeNode* Node, System::Classes::TShiftState ShiftState = System::Classes::TShiftState() )/* overload */;
virtual void __fastcall Select(TTreeNode* const *Nodes, const int Nodes_High)/* overload */;
virtual void __fastcall Select(System::Classes::TList* Nodes)/* overload */;

プロパティ

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

説明

Select メソッドは,指定したノードを選択します。

1 つまたは複数のツリーノードを選択します。

最初の 2 つの形式では,Nodes パラメータのすべてのノードが選択されています。ほかのノードの選択は解除されます。

3 つめの形式では,Node は,マウスでクリックされたかのように選択されています。〔Ctrl〕キー,〔Shift〕キー,またはマウスの右ボタンを使ってこの効果を得る場合は,ShiftState パラメータに ssCtrl,ssShift,または ssRight を指定します。