vb treeview怎么在子节点下添加子节点
部分程序如下PrivateSubForm_Load()DimRootAsNode'AddsomeitemsWithtvBG.NodesSetRoot=.Add(,,,"T...
部分程序如下
Private Sub Form_Load()
Dim Root As Node
'Add some items
With tvBG.Nodes
Set Root = .Add(, , , "Top-level Node #1")
.Add Root.Index, tvwChild, , "Child Node #1"
.Add Root.Index, tvwChild, , "Child Node #2"
.Add Root.Index, tvwChild, , "Child Node #3"
End With
End Sub 展开
Private Sub Form_Load()
Dim Root As Node
'Add some items
With tvBG.Nodes
Set Root = .Add(, , , "Top-level Node #1")
.Add Root.Index, tvwChild, , "Child Node #1"
.Add Root.Index, tvwChild, , "Child Node #2"
.Add Root.Index, tvwChild, , "Child Node #3"
End With
End Sub 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询