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

# TTreeNode.GetNextMultiSelected

Returns the next tree node which is included in a multi-selected range of nodes.

## Declaration

Source position: comctrls.pp line 3118

`public function TTreeNode.GetNextMultiSelected: TTreeNode;`

## Function result

Next tree node in the list of multi-selected nodes, or Nil when multi-selections are not present or enabled in the tree view control for the node(s).

## Description

The internal members with the values for GetPrevMultiSelected and GetNextMultiSelected are updated when the value in the MultiSelected property is changed for the node.

## See also

TTreeNode.MultiSelected |  | Indicates whether the node is one of several nodes selected simultaneously (e.g. using the Shift or Ctrl key while selecting on a tree view control).
TTreeNode.Selected |  | True if the current node is selected in the tree view control.
TTreeNodes.GetSelections |  | Gets the tree node at the specified position in the list of selected nodes.
TCustomTreeView.Selections |  | Provides indexed access to the multi-selected tree nodes in the control.
TCustomTreeView.SelectionVisible |  | Indicates whether selected tree node(s) on the control are visible.