Vcl.ComCtrls.TCustomTreeView.Subselect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Subselect(Node: TTreeNode; Validate: Boolean = False); virtual;

C++

virtual void __fastcall Subselect(TTreeNode* Node, bool Validate = false);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomTreeView

Description

Toggle node selection.

Subselect toggles the selection state of Node. If Validate is true, Subselect ensures that the selection state information in view, list, and node objects are consistent, and that only those nodes allowed by MultiSelectStyle are actually selected.

If Subselect is called when MultiSelect is false, ETreeViewError is raised.

See Also