[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Enables or disables selection of multiple tree nodes at the same time.
Source position: comctrls.pp line 3660
protected property TCustomTreeView.MultiSelect : Boolean |
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.
Version 4.0 | Generated 2025-05-03 | Home |