TCustomTreeView.MultiSelectStyle property
Multi-selection options enabled for the tree view control.
Declaration
property MultiSelectStyle: TMultiSelectStyle read FMultiSelectStyle write SetMultiSelectStyle default DefaultMultiSelectStyle;Description
MultiSelectStyle is a
TMultiSelectStyle property which
contains multi-selection options enabled for the tree view control. Values in
the set type determine which nodes are available to be multi-selected, and
the keys used to select them. The default value for the property is defined
in the DefaultMultiSelectStyle constant, and enables use of the Ctrl key to
add a tree node to a multi-selection.
See TMultiSelectStyles for the available values and their meanings.
Changing the value in MultiSelectStyle causes the new property value to be validated. If an empty set ([]) is assigned, the default value in DefaultMultiSelectStyle is used instead. There must be at least one TMultiSelectStyles enumeration value in the set type.
Use the Options property to enabled multi-selection by including the value tvoAllowMultiselect.
Values in MultiSelectStyle are used when the MouseDown method handles a click on the text or icon for a tree node.
See also
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
