Occurs when a Node object is clicked.
Syntax
Private Sub object_NodeClick(ByVal node As Node)
The NodeClick event syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
node | A reference to the clicked Node object. |
Remarks
The standard Click event is generated when the user clicks any part of the TreeView control outside a node object. The NodeClick event is generated when the user clicks a particular Node object; the NodeClick event also returns a reference to a particular Node object which can be used to validate the Node before further action is taken.
The NodeClick event occurs before the standard Click event.