如何实现单击treeview 子节点,能在text控件中到点其父节点的key或TEXT
对treeview控件不熟悉,想实现单击treeview 子节点,能在text控件中到点其父节点的key或TEXT。求代码 --------------------编程问答-------------------- Private Sub TreeView1_NodeCheck(ByVal Node As MSComctlLib.Node)If Not IsNull(Node.Parent) Then
Text1 = Node.Parent.Key
text2 = Node.Parent.Text
End If
End Sub
--------------------编程问答-------------------- 谢谢,我搞定了
补充:VB , 基础类