Sign in Join
FPDoc Onlineexperiment

TShellTreeView.MultiSelectStyle property

Member of TShellTreeViewpublishedIn unit ShellCtrls

Multi-selection options enabled for the tree view control.

Declaration

pascal
property MultiSelectStyle:;

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.

This description is the one of ComCtrls.TCustomTreeView.MultiSelectStyle.

See also

  • MouseDown
  • Items
  • Options
  • MultiSelect
  • TMultiSelectStyles
  • TMultiSelectStyle

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.