Hi all,
Just asking about this issue:
I wish for only the issues in the sub areas of information to be transferred to the text area of the main form?
Do I make them all grandchild nodes or what?
Aaron
sample code
private sub form_load()
Dim nodx as Node
Set nodx = tvwxxx.Nodes.Add(, , "How", "How to do....."
nodx.EnsureVisible
Set nodx = tvwxxx.Nodes.Add("How", tvwchild, "ASP", "ASP code"
Set nodx = tvwxxx.Nodes.Add("ASP", tvwchild, "ASP1", "XML"
Set nodx = tvwxxx.Nodes.Add("ASP", tvwchild, "ASP2", "ActiveX objects"
Set nodx = tvwxxx.Nodes.Add("How", tvwchild, "HTML", "HTML code"
Set nodx = tvwxxx.Nodes.Add("HTML", tvwchild, "HTML1", "images/photos"
Set nodx = tvwxxx.Nodes.Add("HTML", tvwchild, "HTML2", "links"
End Sub
Private Sub tvwxxx_NodeClick(ByVal Node as Node)
frmMain.txtHelp.Text = frmMain.txtHelp.Text & node.Text &vbCrLf
End Sub
Just asking about this issue:
I wish for only the issues in the sub areas of information to be transferred to the text area of the main form?
Do I make them all grandchild nodes or what?
Aaron
sample code
private sub form_load()
Dim nodx as Node
Set nodx = tvwxxx.Nodes.Add(, , "How", "How to do....."
nodx.EnsureVisible
Set nodx = tvwxxx.Nodes.Add("How", tvwchild, "ASP", "ASP code"
Set nodx = tvwxxx.Nodes.Add("ASP", tvwchild, "ASP1", "XML"
Set nodx = tvwxxx.Nodes.Add("ASP", tvwchild, "ASP2", "ActiveX objects"
Set nodx = tvwxxx.Nodes.Add("How", tvwchild, "HTML", "HTML code"
Set nodx = tvwxxx.Nodes.Add("HTML", tvwchild, "HTML1", "images/photos"
Set nodx = tvwxxx.Nodes.Add("HTML", tvwchild, "HTML2", "links"
End Sub
Private Sub tvwxxx_NodeClick(ByVal Node as Node)
frmMain.txtHelp.Text = frmMain.txtHelp.Text & node.Text &vbCrLf
End Sub