property Node.NextVisibleNode as Node
Gets the next visible tree node.

TypeDescription
Node A Node object that indicates the next visible node.
Use the NextVisibleNode property to get the next visible node. Use the FirstVisibleNode property to get the first visible node in the control's client area. Use the PrevVisibleNode property to get the previous visible node. Use the Visible property to hide a node. The NextVisibleNode can be a child, sibling, or a tree node from another branch. If there is no next tree node, the NextVisibleNode property returns a null reference (Nothing in Visual Basic).

The following sample displays the visible nodes in the control:

Private Sub vis(ByVal x As EXMLGRIDLibCtl.XMLGrid)
    Dim c As EXMLGRIDLibCtl.Node
    Set c = x.FirstVisibleNode
    While Not c Is Nothing
        Debug.Print c.Name
        Set c = c.NextVisibleNode
    Wend
End Sub