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

# TNodeState

Enumerated type denoting the state for a TreeNode.

## Declaration

Source position: comctrls.pp line 2876

`type TNodeState = (`
`nsCut,` |  | Cut has been set in the TTreeNode.
`nsDropHilited,` |  | DropTarget has been set in the TTreeNode.
`nsFocused,` |  | Focused has been set in the TTreeNode.
`nsSelected,` |  | Selected has been set in the TTreeNode.
`nsMultiSelected,` |  | MultiSelected has been set in the TTreeNode.
`nsExpanded,` |  | Expanded has been set in the TTreeNode.
`nsHasChildren,` |  | HasChildren has been set in the TTreeNode.
`nsDeleting,` |  | Deleting has been set in the TTreeNode.
`nsVisible,` |  | Visible has been set in the TTreeNode.
`nsEnabled,` |  | Enabled has been set to True for the TTreeNode.
`nsBound,` |  | The tree node is bound to a tree (has a Parent) or is a top-level node.
`nsValidHasChildren` |  | The tree node has child nodes and a value assigned to its HasChildren property.
`);`

## Description

TNodeState is an enumerated type with values representing the state a tree node. The values reflect the settings in property values in a TTreeNode instance, or the use a node in a tree structure. Value(s) from the enumeration are stored in the TNodeStates type.

## See also

TNodeStates |  | Set type used to store TNodeState value(s).
TTreeNode.States |  | Contains active state flags for the tree node.