Skip to main content

TdxCustomTreeView.ClearSelection(Boolean) Method

Clear a tree node selection.

Declaration

procedure ClearSelection(AKeepPrimary: Boolean = False);

Parameters

Name Type Description
AKeepPrimary Boolean

If False, the procedure deselects all tree nodes. If True, the procedure clears the selection and selects the focused node.

Remarks

You can call the Tree View’s Deselect procedure to deselect specific nodes.

Note

A ClearSelection procedure call has no effect if only one node is selected and the procedure accepts True as a parameter.

See Also