Results 1 to 5 of 5

Thread: Arrrgggghhhhh!! Why cant i add a node to a treeview in formA from formB??

Threaded View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Dec 2000
    Posts
    1,195
    Heres the code im using (in frmAdd, but it never seems to work!
    Code:
     
    frmMain.tvTreeView.Nodes.Add 2, , , "Test", 2, 2
    I also tested it with
    Code:
    frmMain.tvTreeView.Refresh
    but it still doesnt work

    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??
    Last edited by qpabani; Apr 11th, 2001 at 09:10 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width