Back to Devexpress

TdxCustomTreeView.Subselect(TdxTreeViewNode,Boolean) Method

vcl-dxtreeview-dot-tdxcustomtreeview-dot-subselect-x28-dxtreeview-dot-tdxtreeviewnode-system-dot-boolean-x29.md

latest1.2 KB
Original Source

TdxCustomTreeView.Subselect(TdxTreeViewNode,Boolean) Method

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

Declaration

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

Parameters

NameTypeDescription
ANodeTdxTreeViewNode

A tree node.

| | AValidate | Boolean | TrueThe procedure can select only the nodes allowed by the Tree View control’s OptionsSelection.MultiSelectStyle property.FalseThe 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 an exception.

See Also

TdxCustomTreeView Class

TdxCustomTreeView Members

dxTreeView Unit