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

# TCustomTreeView.OnAddition

Event handler signalled when a tree node is added to the Items in the tree view control.

## Declaration

Source position: comctrls.pp line 3664

`protected property TCustomTreeView.OnAddition : TTVExpandedEvent read FOnAddition write FOnAddition;`

## Description

OnAddition is a TTVExpandedEvent property with the event handler signalled when a tree node is added to the Items for the control. The Sender argument contains the TCustomTreeView instance for the notification. The Node argument contains the TTreeNode instance added to the control.

Remark: | OnAddition is not used in the current LCL implementation.

## See also

TCustomTreeView.Items |  | The container with the TTreeNode instances for the control.
TTreeNodes |  | Implements a container for TTreeNode instances.
TTVExpandedEvent |  | TTVExpandedEvent - generic event handling method for a Tree Node that has been expanded.