I have a treeview with child and grandchild fields.
How do I get the treeview to expand the child fields when the form is opened?
Code:
For Each Node In TreeView.Nodes
Node.Expanded = True
End If
Next
Gives me an error on 'Node' in the For Each statement.
Error: Compile Error: cannot find project or library
Any ideas?
How do I get the treeview to expand the child fields when the form is opened?
Code:
For Each Node In TreeView.Nodes
Node.Expanded = True
End If
Next
Gives me an error on 'Node' in the For Each statement.
Error: Compile Error: cannot find project or library
Any ideas?