Heres the code im using (in frmAdd, but it never seems to work!
I also tested it withCode:frmMain.tvTreeView.Nodes.Add 2, , , "Test", 2, 2
but it still doesnt workCode:frmMain.tvTreeView.Refresh
When I add the same code in frmMain (tvTreeView.Nodes.Add 2, , , "Test", 2, 2), it works perfectly... anyone know how I can add to a treeview from another form??




Reply With Quote