Events
The following events are defined in the TreeItem class.
| Name | Description |
|---|---|
| Clicked | Occurs when the left mouse button is double-clicked |
| DoubleClicked | Occurs when the tree of a tree item is opened |
| Expand | Occurs when the tree of a tree item is opened |
| Fold | Occurs when the tree of a tree item is closed |
| GetFocus | Occurs when a tree item is ready for editing |
| LostFocus | Occurs when finish editing a tree item |
| RClicked | Occurs when the right mouse button is clicked |
| Touch | Occurs when selecting a tree item |
Reminder when referring to selection items
Do not use the Value property of the parent object TreeView class to refer to the selected item number in the handler of the event that occurred in the TreeItem class. (The selected item number may not be reflected.)
To refer to the selected item, use the From property (TreeItem object) of the Event object passed as an argument of the event handler.