Results 1 to 3 of 3

Thread: treeview

  1. #1
    imastupidguy
    Guest

    treeview

    how do u addnodes and subnodes?

  2. #2
    Frenzied Member Microbasic's Avatar
    Join Date
    Mar 2001
    Posts
    1,402
    VB Code:
    1. TreeView1.Nodes.Add 0,0,"Parent1","Text Displayed",ImageIndex, SelImageIndex
    2.  
    3. TreeView.Nodes(index).SubNodes.Add "Parent1", 4, "Child1", "Text Displayed", ImageIndwx, SelImageIndex


    MicroBasic
    Dragon Shadow Trainer

    There is no good or evil in the world...only programmers and fools .

  3. #3
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    VB Code:
    1. TreeView1.Nodes.Add , , "Root", "Root"
    2. TreeView1.Nodes.Add "Root", tvwChild, "Child1", "Child node"
    Best regards

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