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

A tree node.

AValidate Boolean

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

Remarks

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

See Also