Vcl.ComCtrls.TCustomTreeView.Selections

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Selections[Index: Integer]: TTreeNode read GetSelection;

C++

__property TTreeNode* Selections[int Index] = {read=GetSelection};

Properties

Type Visibility Source Unit Parent
property public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomTreeView

Description

Returns nodes selected.

Selections returns one of selected nodes. The maximum value of Index is SelectionCount-1. If more than one node is selected, Selections[0] is the primary selected node. This node is the starting point for extended selections if MultiSelectStyle includes msShiftSelect.

See Also