property XMLGrid.NodeByPosition (Position as Long) as Node
Retrieves a node giving its position.

TypeDescription
Position as Long A long expression that indicates the position of the node being requested.
Node A Node object that indicates the node at position.
Use the NodeByPosition property to get a node giving its position. Use the Position property to change the node's position in the list of node's child nodes collection. Use the Visible property to hide a node. Use the NodeFromPoint property to get the node from cursor. The VisibleNodeCount property specifies the number of visible nodes.

The following sample displays the list of visible nodes as they are displayed:

With XMLGrid1
    Dim n As EXMLGRIDLibCtl.Node, i As Long
    i = 0
    Set n = .NodeByPosition(i)
    While Not n Is Nothing
        Debug.Print n.Name
        i = i + 1
        Set n = .NodeByPosition(i)
    Wend
End With