[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TMultiSelectStyles

Represents available multi-select styles.

Declaration

Source position: comctrls.pp line 2882

type TMultiSelectStyles = (

  msControlSelect,

  

Enables multi-select using Ctrl+Click to add an additional item to an existing selection.

  msShiftSelect,

  

Enables multi-select for a range of items from the current selection using Shift+Click.

  msVisibleOnly,

  

Enables 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.

  msSiblingOnly

  

Enables multi-select for only sibling tree nodes using Shift+Click. This excludes parent and/or child tree nodes.

);

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

TMultiSelectStyle

  

Set type used to store value(s) from TMultiSelectStyles.

TCustomTreeView.MultiSelectStyle

  

Multi-selection options enabled for the tree view control.

TCustomTreeView.MultiSelect

  

Enables or disables selection of multiple tree nodes at the same time.


Version 3.2 Generated 2024-02-25 Home