CodePudding user response:
Seems to have a content, is can't see, everybody to helpCodePudding user response:
What's not, in the code,Here is one of the most simple,
Private Sub Form_Load ()
With TreeView1
. Nodes. The Add, "root", "root"
TvwChild. Nodes. The Add "root", "node1", "node1
"TvwChild. Nodes. The Add "root", "2", "2"
Nodes (" root "). Expanded=True
End With
End Sub
CodePudding user response:
Is can only see the background, but click on the node is a content, but does not display, is an attribute of the treeview control accidentally changed by me?CodePudding user response: