Expand
This event occurs when a Node object in a TreeView control is expanded; that is, when a child node becomes visible.
Syntax
Private Sub treeview_Expand(index)
Parameters
- treeview
- Object expression that evaluates to a TreeView control.
- index
- Index of the expanded Node object.
Remarks
The Expand event occurs after the Click and DblClick events. The Expand event is generated in three ways:
- A user double-clicks a Node object that has child nodes.
- The Expanded property for a Node object is set to True.
- A user chooses the plus/minus image.