TTreeView.MultiSelect property
Enables or disables selection of multiple tree nodes at the same time.
Declaration
property MultiSelect:;Description
MultiSelect is a
Boolean property used to enable or
disable selection of multiple nodes in the tree view control. The default
value for the property is
False, and allows a single selected node
indicated in the
Selection property.
When set to True, multiple nodes can be selected and stored in the Selections property. Use Ctrl+Click to add or remove a node in the Selections property. Use Shift+Click and Ctrl+Shift+Click to add or remove a range of nodes in the Selections property.
Changing the value for the property causes existing nodes in both Selection and Selections to be cleared.
Use MultiSelectStyle to set the multi-selection style enabled for
the control.
Use the Select method to add a node to the values in Selections.
Use SelectionCount to get the number of nodes in Selections.
Use GetFirstMultiSelected or GetLastMultiSelected to
get the tree node for the corresponding node in Selections.
Use ClearMultiSelection to remove all existing nodes in Selections.
This description is the one of ComCtrls.TCustomTreeView.MultiSelect.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
