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

# TTreeViewStates

Set type used to store values from the TTreeViewState enumeration.

## Declaration

Source position: comctrls.pp line 3334

`type TTreeViewStates = set of (`
`tvsScrollbarChanged,` |  | Scroll bar visibility or position has been changed in the control.
`tvsMaxRightNeedsUpdate,` |  | The maximum width for expanded nodes needs to be recalculated.
`tvsTopsNeedsUpdate,` |  | The top coordinate for visible, expanded nodes needs to be recalculated.
`tvsMaxLvlNeedsUpdate,` |  | The maximum level for all nodes needs to be recalculated.
`tvsTopItemNeedsUpdate,` |  | The first visible node on the control has changed.
`tvsBottomItemNeedsUpdate,` |  | The last visible node on the control has changed.
`tvsCanvasChanged,` |  | The canvas for the control has been changed.
`tvsDragged,` |  | A node has been dragged to a new location in the tree.
`tvsIsEditing,` |  | The BeginEditing method has been called for the control.
`tvsStateChanging,` |  | Values in the States property for the control have been changed.
`tvsManualNotify,` |  | A tree node has been expanded or collapsed using code.
`tvsUpdating,` |  | This tree view state is deprecated, and has no functionality after r64855.
`tvsPainting,` |  | The control has called it Paint method.
`tvoFocusedPainting,` |  | Node is drawn with a selection rectangle and focus highlighting.
`tvsDblClicked,` |  | A mouse double click event has been handled for the control.
`tvsTripleClicked,` |  | A mouse triple click event has been handled for the control.
`tvsQuadClicked,` |  | A mouse quadruple click event has been handled for the control.
`tvsSelectionChanged,` |  | The selected node(s) have been changed in the control.
`tvsEditOnMouseUp,`
`tvsSingleSelectOnMouseUp`
`);`

## Description

TTreeViewStates is a set type used to store zero or more values from the TTreeViewState enumeration. TTreeViewStates is the type used for the States property in TCustomTreeView.

## See also

TCustomTreeView.States |  | Contains the state values in effect for the control.
TTreeViewState |  | TTreeViewState - enumerated type containing the permissible values for state of a TTreeView.