Unicode Controls & Classes for VB6 - Version 4

ucTreeView.Collapse Method

Collapses the given node

Syntax
Public Sub Collapse (ByVal hNode As Long, _
Optional ByVal CollapseChildren As Boolean = False)
Parameters
Parameter Description
ByVal hNode As Long The node handle
Optional ByVal CollapseChildren As Boolean = False True for collapsing also children, False otherwise
Remarks