RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomTreeView.ClearSelection Method

Deselect all selected nodes, optionally excluding primary selection.

Pascal
procedure ClearSelection(KeepPrimary: Boolean = False); virtual;
C++
virtual __fastcall ClearSelection(Boolean KeepPrimary = False);

ClearSelection deselects all selected nodes. If the KeepPrimary parameter is true, the primary selection (in the first element of the Selections property) is not toggled. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!