Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomTreeView.FindNextToSelect Method

Returns the next selectable node.

#Declaration

Delphi
function FindNextToSelect: TTreeNode; virtual;

#Returns

Type
TTreeNode

#Remarks

Starting with the node specified by the Selected property, the FindNextToSelect method searches for a deselected node, with preference given to subsequent siblings. If the node returned by the Selected property and all its siblings are selected, the search proceeds to the parent node and its siblings, and so on up the tree. If the top level is reached without finding a deselected node, nil is returned.

Note that the Selected property can refer to a deselected node when MultiSelect is True. In this instance, the FindNextToSelect method returns that node.

See Also