[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TCustomTreeView.Selections

Provides indexed access to the multi-selected tree nodes in the control.

Declaration

Source position: comctrls.pp line 3761

public property TCustomTreeView.Selections[AIndex: Integer] : TTreeNode
  read GetSelections;

Description

Selections is an indexed read-only TTreeNode property which provides indexed access to the selected tree nodes in the control. Selections is relevant when tvoAllowMultiselect has been included in the Options for the control. Use SelectionCount to get the number of nodes included in the Selections property.

Use Selected when multi-selection has not been enabled for the control.


Version 3.2 Generated 2024-02-25 Home