Hi all, I am trying to use a treeview control as a menu navigation system. The control is only holding text values, that when double clicked open up the appropriate form. There are 4 areas of the system each with their own sub areas (child nodes) that refer to the individual forms.
How do I code this in VBA? I have managed to add parent nodes, but child nodes are proving to be difficult. I am using access 2000, not ODE --- what references do I need to set to fully use the treeview control, and how can I add these child nodes?!!
This is the code I already have...
***********************************************************
Private Sub LoadTreeView()
Dim objTreeView As Control
Dim objNode As Node
Dim x As Integer
Set objTreeView = Me.objTreeView
Set objNode = objTreeView.Nodes.Add()
objNode.Text = "Seminar Manager"
With objTreeView.Nodes
Set objNode = .Add("Seminar Manager", tvwChild)
End With
End Sub
************************************************************
Thankyou
Hiren
)