Skip to main content

TdxCustomTreeView.Subselect(TdxTreeViewNode,Boolean) Method

Adds the specified node to the Tree View’s selection.

Declaration

procedure Subselect(ANode: TdxTreeViewNode; AValidate: Boolean = False);

Parameters

Name Type Description
ANode TdxTreeViewNode

The target tree node.

AValidate Boolean
False
Default. The property ignores the OptionsSelection.MultiSelectStyle property and selects a specified node.
True
The procedure can select only the nodes allowed by the Tree View control’s OptionsSelection.MultiSelectStyle property.

Remarks

If the Tree View’s OptionsSelection.MultiSelect property is set to False, a Subselect procedure call raises an exception.

See Also