Hi, Sam!
Likely I'me late and you've found the answer to your question about treeview! But just in case, i wanna tell you my experiment: I got the same issue than you: When I want to populate my treeview, I was only able to get the folders, with the relations 0,1,2 or 3. The Relation #4 didn't operate and I was unable to see the sub-items.
Is it the trouble you used to have?
I've found the solution after many hours:
Just do:
onode = Thisform.Treeview.Nodes.Add(,,"Folder1","FolderText")
oNode.expanded = .T.
If you don't expand the main node, the sub-items are there, but not visible.
HTH
Kind regards
Philippe RIONDEL,
a French man in Montreal
=======================================================Who tries can sometimes be wrong, who doesn't is always