Sign in Join
FPDoc Onlineexperiment

TMultiSelectStyles enumeration

In unit ComCtrls

Represents available multi-select styles.

Declaration

pascal
TMultiSelectStyles = (msControlSelect,msShiftSelect,msVisibleOnly,
 msSiblingOnly)

Description

TMultiSelectStyles is an enumerated type with values representing the multi-select options available in TCustomTreeView and TTreeView. The values control the tree nodes and their manner of selection in a multi-selection.

Values from TMultiSelectStyles are stored in the TMultiSelectStyle set type, and used to implement the MultiSelectStyle property in TCustomTreeView.

See also

Values

msControlSelectEnables multi-select using Ctrl+Click to add an additional item to an existing selection.
msShiftSelectEnables multi-select for a range of items from the current selection using Shift+Click.
msVisibleOnlyEnables multi-select for visible (expanded) items only using Shift+Click. Can be used in conjunction with msSiblingOnly.A multi-selection does not include any child nodes unless the nodes are expanded and visible.
msSiblingOnlyEnables multi-select for only sibling tree nodes using Shift+Click. This excludes parent and/or child tree nodes.

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