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

# TTreeNodeChangeReason

Represents reason codes passed to event handlers when a tree node has been changed.

## Declaration

Source position: comctrls.pp line 2911

`type TTreeNodeChangeReason = (`
`ncTextChanged,` |  | The Node Text has changed.
`ncDataChanged,` |  | The Node Data has changed.
`ncHeightChanged,` |  | The Node Height has changed.
`ncImageEffect,` |  | The Node Image Effect has changed.
`ncImageIndex,` |  | The Node Image Index has changed.
`ncParentChanged,` |  | The Node Parent has changed.
`ncVisibility,` |  | The Node Visibility has changed.
`ncEnablement,` |  | The enabled / disabled state has changed for a tree node.
`ncOverlayIndex,` |  | The Node Overlay Index has changed.
`ncStateIndex,` |  | The Node State Index has changed.
`ncSelectedIndex` |  | The Node Selected Index has changed.
`);`

## Description

TTreeNodeChangeReason is an enumerated type with values that represent the reason code passed to event handlers when a tree node has been changed. TTreeNodeChangeReason is passed as an argument to the TTVNodeChangedEvent event handler.

## See also

TTVNodeChangedEvent |  | Specifies an event handler signalled when values in a tree node have been changed.
TTreeNode.Changed |  | Performs a change notification for the node with the specified reason.
TCustomTreeView.NodeChanged |  | Performs actions when a property value in the specified tree node has been changed.