[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Adds nodes relative the specified node to the multi-selection list.
Source position: comctrls.pp line 3273
public procedure TTreeNodes.MultiSelect( |
Node: TTreeNode; |
ClearWholeSelection: Boolean |
); |
Node |
|
Tree node with the child or sibling nodes added to the selection list. |
ClearWholeSelection |
|
True to remove all existing nodes in the selection list, False to remove the most recent node. |
MultiSelect is a method used add nodes to the internal selection list relative to the node specified in Node. MultiSelect uses values in the MultiSelectStyle property for the tree view control in Owner to determine the nodes added. Specifically:
ClearWholeSelection indicates whether all existing nodes in the multi-selection are cleared before added new node(s) to the selection list. When set to True, the ClearMultiSelection method is called. Otherwise, the last node in the selection list is removed.
Nodes in the internal selection list are visited to set their MultiSelected property to True. Members used to track the first and last nodes in the multi-selection are updated prior to exit.
|
Clears the nodes in a multi-selection and optionally the selected node on the tree view control. |
|
|
The TCustomTreeView control that is the owner of the container. |
|
|
Indicates whether the node is one of several nodes selected simultaneously (e.g. using the Shift or Ctrl key while selecting on a tree view control). |
|
|
Multi-selection options enabled for the tree view control. |
|
|
Set type used to store value(s) from TMultiSelectStyles. |
Version 3.2 | Generated 2024-02-25 | Home |