Type | Description | |||
Position as Long | A Long expression that indicates the position of the node being requested. The Position expression is 0 based, where 0 indicates the first visible node. | |||
Node | A Node object that indicates the node at position |
The following VB sample enumerates all nodes in the control as they are displayed ( including child nodes too ):
Private Sub enumerate(ByVal x As EXMLGRIDLibCtl.XMLGrid) With x.Nodes Dim i As Long For i = 0 To .Count - 1 enumNodes .ItemByPosition(i) Next End With End Sub Private Sub enumNodes(ByVal n As EXMLGRIDLibCtl.Node) Dim c As EXMLGRIDLibCtl.Node Debug.Print n.Name Set c = n.FirstNode While Not c Is Nothing enumNodes c Set c = c.NextNode Wend End Sub